q
Tag messages


The Messages component allows you to display validation errors for all components with validators.


Tag Information
Tag Classteamdev.jsf.taglib.MessagesJspTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
bindingfalsejavax.faces.component.UIMessagesonlynullA value-binding expression that associates the Messages component with a backing bean property.
dirfalsejava.lang.Stringtrue"ltr"The base direction of directionally neutral text.
Available values are:
"ltr" — left to right
"rtl" — right to left
errorClassfalsejava.lang.StringtruenullA CSS class for messages with severity "ERROR".
errorStylefalsejava.lang.StringtruenullA CSS style for messages with severity "ERROR".
fatalClassfalsejava.lang.StringtruenullA CSS class for messages with severity "FATAL".
fatalStylefalsejava.lang.StringtruenullA CSS style for messages with severity "FATAL".
globalOnlyfalsebooleantruefalseA flag that indicates whether or not the Messages component displays only global messages (messages not associated with any client-side identifier).
idfalsejava.lang.StringfalsenullThe component identifier.
infoClassfalsejava.lang.StringtruenullA CSS class for messages with severity "INFO".
infoStylefalsejava.lang.StringtruenullA CSS style for messages with severity "INFO".
langfalsejava.lang.StringtruenullThe base language for Messages. Should be specified as language code.
layoutfalsejava.lang.Stringtrue"list"The type of the layout to use when rendering error messages.
Available values are:
"list" — messages are rendered in an HTML list
"table" — messages are rendered in an HTML table
onclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the Messages.
ondblclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the Messages.
onkeydownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user presses a key over the Messages.
onkeypressfalsejava.lang.StringtruenullJavascript code that should be executed on the client when the user presses and releases a key over the Messages.
onkeyupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases a key over the Messages.
onmousedownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user clicks over the Messages with either mouse button.
onmousemovefalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer over the Messages.
onmouseoutfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer away from the Messages.
onmouseoverfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer onto the Messages.
onmouseupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases a mouse button over the Messages.
renderedfalsebooleantruetrueA flag that indicates whether or not the component is visible.
showDetailfalsebooleantruetrueA flag that indicates whether or not the "detail" portion of displayed messages should be included in the error description.
showSummaryfalsebooleantruefalseA flag that indicates whether or not the "summary" portion of displayed messages should be included in the error description.
stylefalsejava.lang.StringtruenullA style for the Messages component.
styleClassfalsejava.lang.StringtruenullA CSS class name for the Messages component.
titlefalsejava.lang.StringtruenullText for the tooltip of the Messages component.
tooltipfalsebooleantruefalseA flag that indicates whether or not to render the message summary as a tooltip.
warnClassfalsejava.lang.StringtruenullA CSS class for messages with severity "WARN".
warnStylefalsejava.lang.StringtruenullA CSS style for messages with severity "WARN".

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.