Developing Web 2.0 applications
with JavaServerFaces
and Dreamweaver
>> Just Became Easier
Documentation
Search
  1. Introduction
  2. Getting Started
  3. Seam Concepts
  4. Seam Component Types
  5. Design View Support
  6. Code View Support
  7. Tag Object Toolbars
  8. Property Inspectors
  9. Seam Tag Reference
Seam Tag Library
  s:button
  s:cache
  s:conversationId
  s:conversationName
  s:conversationPropagation
  s:convertAtomicBoolean
  s:convertAtomicInteger
  s:convertAtomicLong
  s:convertDateTime
  s:convertEntity
  s:convertEnum
  s:decorate
  s:defaultAction
  s:div
  s:download
  s:enumItem
  s:fileUpload
  s:formattedText
  s:fragment
  s:graphicImage
  s:label
  s:link
Selected s:message
  s:remote
  s:resource
  s:selectItems
  s:selection
  s:span
  s:taskId
  s:token
  s:transformImageBlur
  s:transformImageSize
  s:transformImageType
  s:validate
  s:validateAll
  s:validateEquality
  s:validateFormattedText
If you like this documentation, please take a look at my book:

9. Seam Tag Reference

Documentation > Seam > Seam Tag Reference > Seam Tag Library > s:message

s:message

<p>The <s:message> tag renders a Faces message in the view.</p>

Example

<h:inputText id="username" required="#{true}" value="#{userBean.user.username}" errorStyle="color:red" />
<s:message />

HTML Output

<input type="text" id="form:username" name="form:username" value="" />
<span style="color:red">Value is required.</span>

Tag Attributes

binding Expression
 
The attribute takes a value-binding expression for a component property of a backing bean
dir Text
 
dir
errorClass Text
 
errorClass
errorStyle Text
 
errorStyle
fatalClass Text
 
fatalClass
fatalStyle Text
 
fatalStyle
for Text
 
A client identifier of the component for which this component represents associated message(s)
id Text
 
Every component may have a unique id that is automatically created if omitted
infoClass Text
 
infoClass
infoStyle Text
 
infoStyle
lang Text
 
lang
rendered Text
 
If "false", this component is not rendered
showDetail Text
 
Indicates whether the detail of associated message(s) should be displayed. Default is:false
showSummary Text
 
Indicates whether the summary of associated message(s) should be displayed. Default is:true
style Text
 
style
styleClass Text
 
styleClass
title Text
 
title
tooltip Text
 
tooltip
warnClass Text
 
warnClass
warnStyle Text
 
warnStyle