## t
Tag messages

MyFaces extension to the standard messages tag: see showInputLabel attribute

Tag Information
Tag Class | org.apache.myfaces.taglib.html.ext.HtmlMessagesTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | false | false | `java.lang.String` | Component binding.
detailFormat | false | false | `java.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}"
dir | false | false | `java.lang.String` | No Description
enabledOnUserRole | false | false | `java.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.
errorClass | false | false | `java.lang.String` | CSS class to be used for messages with severity "ERROR".
errorStyle | false | false | `java.lang.String` | CSS style to be used for messages with severity "ERROR".
fatalClass | false | false | `java.lang.String` | CSS class to be used for messages with severity "FATAL".
fatalStyle | false | false | `java.lang.String` | CSS style to be used for messages with severity "FATAL".
forceId | false | false | `java.lang.String` | If true, this component will force the use of the specified id when rendering.
forceIdIndex | false | false | `java.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.)
globalOnly | false | false | `java.lang.String` | Indicates whether only global messages (that is, messages with no associated client identifier) should be rendered. Default is: false
globalSummaryFormat | false | false | `java.lang.String` | Like summaryFormat, but applies to global messages (i.e. messages not associated with a component). If no globalSummaryFormat is given, the summaryFormat is used for global messages. Example: "{0}:"
id | false | false | `java.lang.String` | Every component may have an unique id. Automatically created if omitted.
infoClass | false | false | `java.lang.String` | CSS class to be used for messages with severity "INFO".
infoStyle | false | false | `java.lang.String` | CSS style to be used for messages with severity "INFO".
lang | false | false | `java.lang.String` | No Description
layout | false | false | `java.lang.String` | The layout: "table" or "list". Default: list
onclick | false | false | `java.lang.String` | No Description
ondblclick | false | false | `java.lang.String` | No Description
onkeydown | false | false | `java.lang.String` | No Description
onkeypress | false | false | `java.lang.String` | No Description
onkeyup | false | false | `java.lang.String` | No Description
onmousedown | false | false | `java.lang.String` | No Description
onmousemove | false | false | `java.lang.String` | No Description
onmouseout | false | false | `java.lang.String` | No Description
onmouseover | false | false | `java.lang.String` | No Description
onmouseup | false | false | `java.lang.String` | No Description
rendered | false | false | `java.lang.String` | If false, this component will not be rendered.
replaceIdWithLabel | false | false | `java.lang.String` | If present, all occurrences of the id of the component for which the message is rendered will be replaced by the label.
showDetail | false | false | `java.lang.String` | Indicates whether the detail of the message(s) should be displayed. Default is: false
showSummary | false | false | `java.lang.String` | Indicates whether the summary of the message(s) should be displayed. Default is: true
style | false | false | `java.lang.String` | No Description
styleClass | false | false | `java.lang.String` | Corresponds to the HTML class attribute.
summaryFormat | false | false | `java.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}:" or "{0} in field {1}"
title | false | false | `java.lang.String` | No Description
tooltip | false | false | `java.lang.String` | If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute).
visibleOnUserRole | false | false | `java.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.
warnClass | false | false | `java.lang.String` | CSS class to be used for messages with severity "WARN".
warnStyle | false | false | `java.lang.String` | CSS 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.