The same as for the
Message renderer, but output all the messages. If an "id" attribute has been specified,
it must be rendered on the outermost markup corresponding to this
component. If the value of the "layout" attribute is
"table", render nested "table", "tr", and "td" elements, in that
order. If the value of the "layout" attribute is "list", or the
"layout" attribute is not specified, render nested "ul", "li"
elements, in that order. Output the value of the "style" attribute
as the value of the "style" attribute, output the value of the
"styleClass" attribute as the value of the "class" attribute, and
output the dir and lang attributes. Output these values on the
"table" element or the "ul" element. Output the values of the
"errorStyle", "fatalStyle", "infoStyle", "warnStyle" attributes as
the value of the "style" attribute on either the "tr" element or
the "li" element. Output the values of the "errorClass",
"fatalClass", "infoClass", "warnClass" attributes as the value of
the "class" attribute on either the "tr" element or the "li"
element. The component is a UIMessages
, and there is
no "for" attribute. Therefore, use either null
to
obtain the messages from the FacesContext
or the empty
string if the components "globalOnly" property is
true
. If the layout was "table" close out the table
elements, otherwise, close out the list elements.
This renderer is responsible for rendering its children.
Attributes with a ignored-by-renderer
value of
true
are not interpreted by the renderer and are conveyed
straight to the rendered markup, without checking for validity. Attributes with a
ignored-by-renderer
value of false
are interpreted
by the renderer, and may or may not be checked for validity by the renderer.
Attributes | |||||
attribute-name | ignored-by-renderer | attribute-class | description | default-value | |
---|---|---|---|---|---|
dir
|
true | java.lang.String |
Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). These attributes are case sensitive when rendering to XHTML, so care must be taken to have the correct case. | undefined | |
errorClass
|
false | java.lang.String |
CSS style class to apply to any message with a severity class of "ERROR". | undefined | |
errorStyle
|
false | java.lang.String |
CSS style(s) to apply to any message with a severity class of "ERROR". | undefined | |
fatalClass
|
false | java.lang.String |
CSS style class to apply to any message with a severity class of "FATAL". | undefined | |
fatalStyle
|
false | java.lang.String |
CSS style(s) to apply to any message with a severity class of "FATAL". | undefined | |
infoClass
|
false | java.lang.String |
CSS style class to apply to any message with a severity class of "INFO". | undefined | |
infoStyle
|
false | java.lang.String |
CSS style(s) to apply to any message with a severity class of "INFO". | undefined | |
lang
|
true | java.lang.String |
Code describing the language used in the generated markup for this component. | undefined | |
layout
|
false | java.lang.String |
The type of layout markup to use when rendering error messages. Valid values are "table" (an HTML table) and "list" (an HTML list). If not specified, the default value is "list". | "list" | |
role
|
true | java.lang.String |
Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role" attribute whose value must be passed through unmodified on the element on which it is declared in the final rendered markup. The attribute, if specified, must have a value that is a string literal that is, or an EL Expression that evaluates to, a set of space-separated tokens representing the various WAI-ARIA roles that the element belongs to. It is the page author's responsibility to ensure that the user agent is capable of correctly interpreting the value of this attribute. |
undefined | |
style
|
true | java.lang.String |
CSS style(s) to be applied when this component is rendered. | undefined | |
styleClass
|
false | java.lang.String |
Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. | undefined | |
title
|
true | java.lang.String |
Advisory title information about markup elements generated for this component. | undefined | |
tooltip
|
false | boolean |
Flag indicating whether the detail portion of the message should be displayed as a tooltip. | undefined | |
warnClass
|
false | java.lang.String |
CSS style class to apply to any message with a severity class of "WARN". | undefined | |
warnStyle
|
false | java.lang.String |
CSS style(s) to apply to any message with a severity class of "WARN". | undefined |