Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces-EE ACE Components
Tag messages

The messages tag renders all Faces messages, all Faces messages for a specific component, or all Faces messages not associated with any component. If redisplay is true, a message is always rendered; if redisplay is false, a message is rendered only if it was undisplayed before. Styling is done by predefined jQuery classes in theme stylesheets:

- Info: ui-icon-info w/ ui-state-highlight css
- Warn: ui-icon-notice w/ ui-state-highlight css
- Error: ui-icon-alert w/ ui-state-error css
- Fatal: ui-icon-alert w/ ui-state-error css

Tag Information
Tag Class | org.icefaces.ace.component.messages.MessagesTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | no | true | `javax.el.ValueExpression` | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
changeEffect | no | true | `java.lang.String` | Effect to run to show the message when there was a different previous message. Values and default same as for initEffect.
changeEffectDuration | no | true | `java.lang.String` | Duration (also called "speed" in jQuery) of change effect. Values and default same as for initEffectDuration.
escape | no | true | `boolean` | Flag indicating that characters that are sensitive in HTML and XML markup must be escaped. Note: setting this to false may open up security issues. See XSS (Cross Site Scripting) Prevention Cheat Sheet. Default = 'true'.
for | no | true | `java.lang.String` | Identifier of the component for which to render error messages. If this component is within the same NamingContainer as the target component, this must be the component identifier. Otherwise, it must be an absolute component identifier (starting with ":"). Leave out or use "@all" to output global messages.
globalOnly | no | true | `boolean` | Flag indicating whether only global messages (that is, messages with no associated client identifier) should be rendered. Mutually exclusive with the 'for' property which takes precedence. Default = 'false'.
id | no | true | `java.lang.String` | The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
initEffect | no | true | `java.lang.String` | Effect to run to show the message when there was no previous message. One of "blind", "bounce", "clip", "drop", "explode", "fade", "fold", "highlight", "puff", "pulsate", "scale", "shake", "size", "slide". Default is no effect.
initEffectDuration | no | true | `java.lang.String` | Duration (also called "speed" in jQuery) of init effect. One of "slow", "_default", "fast", or an integer of milliseconds. Default is "_default". ("slow", "_default", "fast" currently equated to 600, 400 and 200 respectively in jQuery.)
lang | no | true | `java.lang.String` | Code describing the language used in the generated markup for this component.
redisplay | no | true | `boolean` | A flag indicating this UIMessages instance should redisplay FacesMessages that have already been handled. Default = 'true'.
rendered | no | true | `boolean` | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
showDetail | no | true | `boolean` | Flag indicating whether the "detail" property of messages for the specified component should be rendered. Default = 'false'.
showSummary | no | true | `boolean` | Flag indicating whether the "summary" property of messages for the specified component should be rendered. Default = 'true'.
style | no | true | `java.lang.String` | CSS style(s) to be applied when this component is rendered.
styleClass | no | true | `java.lang.String` | Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
title | no | true | `java.lang.String` | Advisory title information about markup elements generated for this component.

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.