message (Struts Faces Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## Struts-Faces
Tag message

Render the message text looked up from a message resources bundle, based on our current locale. The message key must be specified by exactly one of the following attributes:

The `MessageResources` bundle to be used is specified by the `bundle` attribute, as follows:

Substitution parameters for the message may be nested inside this tag by using the `parameter` tag from the standard HTML RenderKit tag library.

Additional control over the rendering process is specified by the following optional attributes, with default values as indicated:

Tag Information
Tag Class | org.apache.struts.faces.taglib.MessageTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | false | false | `java.lang.String` | Value binding expression to bind this component to a backing bean property.
bundle | false | false | `java.lang.String` | Name of the servlet context attribute under which the desired `MessageResources` bundle is stored. If not specified, the default bundle for this sub-application will be used.
filter | false | false | `java.lang.String` | Should we filter the output for characters that are sensitive in HTML? The default value is `true`.
id | false | false | `java.lang.String` | Component identifier of the component corresponding to this tag.
key | false | false | `java.lang.String` | Literal value of the message key to look up. Exactly one of `key` and `value` must be specified.
rendered | false | false | `java.lang.String` | Boolean attribute indicating whether this component should be rendered or not.
style | false | false | `java.lang.String` | CSS styles used to render this component.
styleClass | false | false | `java.lang.String` | Name of the CSS style class used to render this component.
value | false | false | `java.lang.String` | Value reference expression used to retrieve a dynamic value for the message key to look up. Exactly one of `key` and `value` must be specified.

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.