Tobago Components
Tag messages

Renders error/validation messages.

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

RendererType: Messages

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

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
bindingfalsetruejava.lang.StringThe 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.
renderedfalsetruejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
Type: java.lang.Boolean
Default: true
forfalsetruejava.lang.StringId of the component, this is related to.
Type: java.lang.String
confirmationfalsetruejava.lang.StringShould the user confirm the message explicitly.
Type: java.lang.Boolean
Default: false
globalOnlyfalsetruejava.lang.StringFlag 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
maxNumberfalsetruejava.lang.StringSets the maximum number of messages to show.
Type: java.lang.Integer
Default: 2147483647
maxSeverityfalsetruejava.lang.StringSets 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
minSeverityfalsetruejava.lang.StringSets the mininum severity to be shown. E. g. "warn" shows only "warn", "error" and "fatal".
Type: javax.faces.application.FacesMessage.Severity
Default: info
orderByfalsetruejava.lang.StringSets the order of the messages.
Type: java.lang.String
Default: occurrence
Allowed values: [occurrence, severity, occurence]
showDetailfalsetruejava.lang.StringFlag indicating whether the detail should be included
Type: java.lang.Boolean
Default: false
showSummaryfalsetruejava.lang.StringFlag indicating whether the summary should be included
Type: java.lang.Boolean
Default: true

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.