tc
Tag messages


Renders error/validation messages.

UIComponentClass: org.apache.myfaces.tobago.component.UIMessages

RendererType: Messages



Tag Information
Tag Classorg.apache.myfaces.tobago.internal.taglib.MessagesTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The value binding expression linking this component to a property in a backing bean.

Warning: For the tobago extension library tx the binding differs from JSP and Facelets:

  • JSP: The component is the inner main control (e. g. UIInput).
  • Facelets: The component is the outer UIPanel.

Type: javax.faces.component.UIComponent
confirmationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Has the user to confirm this message? This attributes handles the case, if the application wants to warn the user about a problem, and the user has to confirm the message before he/she can continue.
Type: boolean
Default: false
forfalsefalsejava.lang.StringId of the component, this is related to.
Type: java.lang.String
globalOnlyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Flag indicating that only messages that are not associated to any particular UIComponent should be displayed. That are messages without clientId.
Type: java.lang.String
Default: false
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
Type: java.lang.String
markupfalsefalsejavax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.context.Markup)
Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer.
Type: org.apache.myfaces.tobago.context.Markup
maxNumberfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
Sets the maximum number of messages to show.
Type: java.lang.Integer
Default: 2147483647
maxSeverityfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.application.FacesMessage$Severity)
Sets the maximum severity to be shown. E. g. "warn" shows only "warn" and "info". When setting this attribute you usually shoud take care, that you have a second message tag to show the higher severity levels.
Type: javax.faces.application.FacesMessage$Severity
Default: fatal
minSeverityfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.application.FacesMessage$Severity)
Sets the mininum severity to be shown. E. g. "warn" shows only "warn", "error" and "fatal".
Type: javax.faces.application.FacesMessage$Severity
Default: info
orderByfalsefalsejavax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.component.UIMessages$OrderBy)
Sets the order of the messages.
Type: org.apache.myfaces.tobago.component.UIMessages$OrderBy
Default: occurrence
Allowed Values: [occurrence, severity]
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
Type: boolean
Default: true
showDetailfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Flag indicating whether the detail should be included
Type: boolean
Default: false
showSummaryfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Flag indicating whether the summary should be included
Type: boolean
Default: true

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.