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 Classorg.apache.struts.faces.taglib.MessageTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.lang.String

Value binding expression to bind this component to a backing bean property.

bundlefalsefalsejava.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.

filterfalsefalsejava.lang.String

Should we filter the output for characters that are sensitive in HTML? The default value is true.

idfalsefalsejava.lang.String

Component identifier of the component corresponding to this tag.

keyfalsefalsejava.lang.String

Literal value of the message key to look up. Exactly one of key and value must be specified.

renderedfalsefalsejava.lang.StringBoolean attribute indicating whether this component should be rendered or not.
stylefalsefalsejava.lang.String

CSS styles used to render this component.

styleClassfalsefalsejava.lang.String

Name of the CSS style class used to render this component.

valuefalsefalsejava.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.


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.