t
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
bindingfalsefalsejava.lang.StringComponent binding.
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}"
dirfalsefalsejava.lang.StringNo Description
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.
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".
fortruefalsejava.lang.StringThe client identifier of the component for which this component represents associated message(s).
forceIdfalsefalsejava.lang.StringIf true, this component will force the use of the specified id when rendering.
forceIdIndexfalsefalsejava.lang.String If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)
idfalsefalsejava.lang.StringEvery component may have an unique id. Automatically created if omitted.
infoClassfalsefalsejava.lang.StringCSS class to be used for messages with severity "INFO".
infoStylefalsefalsejava.lang.StringCSS style to be used for messages with severity "INFO".
langfalsefalsejava.lang.StringNo Description
onclickfalsefalsejava.lang.StringNo Description
ondblclickfalsefalsejava.lang.StringNo Description
onkeydownfalsefalsejava.lang.StringNo Description
onkeypressfalsefalsejava.lang.StringNo Description
onkeyupfalsefalsejava.lang.StringNo Description
onmousedownfalsefalsejava.lang.StringNo Description
onmousemovefalsefalsejava.lang.StringNo Description
onmouseoutfalsefalsejava.lang.StringNo Description
onmouseoverfalsefalsejava.lang.StringNo Description
onmouseupfalsefalsejava.lang.StringNo Description
renderedfalsefalsejava.lang.StringIf false, this component will not be rendered.
replaceIdWithLabelfalsefalsejava.lang.String If present, all occurrences of the id of the component for which the message is rendered will be replaced by the label. Standard is true for the extended message renderer.
showDetailfalsefalsejava.lang.StringIndicates whether the detail of the associated message(s) should be displayed. Default is: false
showSummaryfalsefalsejava.lang.StringIndicates whether the summary of the associated message(s) should be displayed. Default is: true
stylefalsefalsejava.lang.StringNo Description
styleClassfalsefalsejava.lang.StringCorresponds to the HTML class attribute.
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}:"
titlefalsefalsejava.lang.StringNo Description
tooltipfalsefalsejava.lang.String If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute).
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.
warnClassfalsefalsejava.lang.StringCSS class to be used for messages with severity "WARN".
warnStylefalsefalsejava.lang.StringCSS style to be used 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.