This project has retired. For details please refer to its Attic page.
getAsString (Tiles - JSP support Tag library documentation)

tiles
Tag getAsString


Render the value of the specified template attribute to the current Writer

Retrieve the value of the specified template attribute property, and render it to the current Writer as a String. The usual toString() conversions is applied on found value.



Tag Information
Tag Classorg.apache.tiles.jsp.taglib.GetAsStringTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
ignorefalsetrueboolean If true, if an exception happens during rendering, of if the attribute is null, the problem will be ignored.
preparerfalsetruejava.lang.String The preparer to invoke before rendering the attribute.
rolefalsetruejava.lang.String A comma-separated list of roles. If present, the attribute will be rendered only if the current user belongs to one of the roles.
defaultValuefalsetruejava.lang.Object The default value of the attribute. To use only if the attribute was not computed.
defaultValueRolefalsetruejava.lang.String The default comma-separated list of roles. To use only if the attribute was not computed.
defaultValueTypefalsetruejava.lang.String The default type of the attribute. To use only if the attribute was not computed.
nametruetruejava.lang.String The name of the attribute.
valuefalsetrueorg.apache.tiles.Attribute The attribute to use immediately, if not null.

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.