All Downloads are FREE. Search and download functionalities are using the official Maven repository.

facesdoc.HTML_BASIC.javax.faces.Messagesjavax.faces.Messages.html Maven / Gradle / Ivy

Go to download

This is the master POM file for Oracle's Implementation of the JSF 2.3 Specification.

There is a newer version: 2.3-pfd
Show newest version




<font size="-1">component-family:</font> javax.faces.Messages <font size="-1">renderer-type:</font> javax.faces.Messages






HTML_BASIC render-kit
component-family: javax.faces.Messages renderer-type: javax.faces.Messages


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.


Note:

Attributes with a pass-through value of true are not interpreted by the renderer and are passed straight through to the rendered markup, without checking for validity. Attributes with a pass-through value of false are interpreted by the renderer, and may or may not be checked for validity by the renderer.

Attributes
attribute-name pass-through 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). 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"
 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

Copyright (c) 2003-2010 Oracle America, Inc. All Rights Reserved.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy