x
Tag message


MyFaces extension to the standard messages tag: see summaryDetailSeparator attribute


Tag Information
Tag Classorg.apache.myfaces.taglib.html.ext.HtmlMessageTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsefalsejava.lang.StringEvery component may have an unique id. Automatically created if omitted.
renderedfalsefalsejava.lang.StringIf false, this component will not be rendered.
bindingfalsefalsejava.lang.StringComponent binding.
transientfalsefalsejava.lang.StringIf true, this component will not be saved during state saving.
fortruefalsejava.lang.StringThe client identifier of the component for which this component represents associated message(s).
showSummaryfalsefalsejava.lang.StringIndicates whether the summary of the associated message(s) should be displayed. Default is: true
showDetailfalsefalsejava.lang.StringIndicates whether the detail of the associated message(s) should be displayed. Default is: false
dirfalsefalsejava.lang.StringNo Description
langfalsefalsejava.lang.StringNo Description
stylefalsefalsejava.lang.StringNo Description
titlefalsefalsejava.lang.StringNo Description
styleClassfalsefalsejava.lang.StringCorresponds to the HTML class attribute.
onclickfalsefalsejava.lang.StringNo Description
ondblclickfalsefalsejava.lang.StringNo Description
onmousedownfalsefalsejava.lang.StringNo Description
onmouseupfalsefalsejava.lang.StringNo Description
onmouseoverfalsefalsejava.lang.StringNo Description
onmousemovefalsefalsejava.lang.StringNo Description
onmouseoutfalsefalsejava.lang.StringNo Description
onkeypressfalsefalsejava.lang.StringNo Description
onkeydownfalsefalsejava.lang.StringNo Description
onkeyupfalsefalsejava.lang.StringNo Description
infoClassfalsefalsejava.lang.StringCSS class to be used for messages with severity "INFO".
infoStylefalsefalsejava.lang.StringCSS style to be used for messages with severity "INFO".
warnClassfalsefalsejava.lang.StringCSS class to be used for messages with severity "WARN".
warnStylefalsefalsejava.lang.StringCSS style to be used for messages with severity "WARN".
errorClassfalsefalsejava.lang.StringCSS class to be used for messages with severity "ERROR".
errorStylefalsefalsejava.lang.StringCSS style to be used for messages with severity "ERROR".
fatalClassfalsefalsejava.lang.StringCSS class to be used for messages with severity "FATAL".
fatalStylefalsefalsejava.lang.StringCSS style to be used for messages with severity "FATAL".
tooltipfalsefalsejava.lang.String If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute).
enabledOnUserRolefalsefalsejava.lang.String If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered.
visibleOnUserRolefalsefalsejava.lang.String If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
summaryFormatfalsefalsejava.lang.String If present, instead of rendering the message summary, a MessageFormat with this attribute as pattern is created. The format method of this MessageFormat is called with the message summary as the first argument and the label of the associated component (if any) as the second argument. Example: "{0}:"
detailFormatfalsefalsejava.lang.String If present, instead of rendering the message detail, a MessageFormat with this attribute as pattern is created. The format method of this MessageFormat is called with the message detail as the first argument and the label of the associated component (if any) as the second argument. Example: "The input in field {1} is wrong: {0}"

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.