Create new RichFaces Documentation Jira issue

This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

6.14.8.  < rich:messages > available since 3.1.0

Table 6.591. rich : messages attributes

Attribute Name Description
ajaxRenderedDefine, must be (or not) content of this component will be included in AJAX response created by parent AJAX Container, even if not forced by reRender list of ajax action. Ignored if component marked to output by some Ajax action component. The default value is "true".
binding JSF: The attribute takes a value-binding expression for a component property of a backing bean
errorClassAssigns one or more space-separated CSS class names to the messages with a severity class of "ERROR"
errorLabelClassAssigns one or more space-separated CSS class names to the messages labels with a severity class of "ERROR"
errorMarkerClassAssigns one or more space-separated CSS class names to the messages marker with a severity class of "ERROR"
fatalClassAssigns one or more space-separated CSS class names to the messages with a severity class of "FATAL"
fatalLabelClassAssigns one or more space-separated CSS class names to the messages labels with a severity class of "FATAL"
fatalMarkerClassAssigns one or more space-separated CSS class names to the messages markers with a severity class of "FATAL"
forClient identifier of the component for which to display messages
globalOnlyFlag indicating that only global messages (that is, messages not associated with any client identifier) are to be displayed. Default value is "false"
id JSF: Every component may have a unique id that is automatically created if omitted
infoClassAssigns one or more space-separated CSS class names to the messages with a severity class of "INFO"
infoLabelClassAssigns one or more space-separated CSS class names to the messages labels with a severity class of "INFO"
infoMarkerClassAssigns one or more space-separated CSS class names to the messages markers with a severity class of "INFO"
labelClassAssigns one or more space-separated CSS class names to the messages labels
layoutThe type of layout markup to use when rendering error messages. Possible values are "table" (an HTML table), "list" (an HTML list) and iterator. If not specified, the default value is "list".
levelDefines a comma-separated list of messages categories to display. Default value is "ALL".
markerClassAssigns one or more space-separated CSS class names to the messages markers
markerStyleCSS style rules to be applied to the messages markers
minLevelDefines a minimum level of messages categories to display.
rendered JSF: If "false", this component is not rendered
showDetailFlag indicating whether the detailed information of displayed messages should be included. Default value is "false"
showSummaryFlag indicating whether the summary portion of displayed messages should be included. Default value is "true"
styleHTML: CSS style rules to be applied to the component
styleClass JSF: Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML 'class' attribute.
titleHTML: Advisory title information about markup elements generated for this component
tooltipFlag indicating whether the detail portion of the message should be displayed as a tooltip. Default value is "false".
warnClassAssigns one or more space-separated CSS class names to the messages with a severity class of "WARN"
warnLabelClassAssigns one or more space-separated CSS class names to the messages labels with a severity class of "WARN"
warnMarkerClassAssigns one or more space-separated CSS class names to the messages markers with a severity class of "WARN"


On the component LiveDemo page you can see the example of <rich:messages> usage and sources for the given example.