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 JspWriter

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

Throw a JSPException if named value is not found.



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

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.String

Attribute name.

ignorefalsetrueboolean

If this attribute is set to true, and the attribute specified by the name does not exist, simply return without writing anything. The default value is false, which will cause a runtime exception to be thrown.

rolefalsetruejava.lang.String

If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped).


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.