getAsString (Struts Tiles Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## tiles
Tag getAsString

Render the value of the specified tile/component/template attribute to the current JspWriter

Retrieve the value of the specified tile/component/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 Class | org.apache.struts.tiles.taglib.GetAttributeTag
TagExtraInfo Class | None
Body Content | empty
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
name | true | true | `java.lang.String` | Attribute name.
ignore | false | true | `boolean` | 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.
role | false | true | `java.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.

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.