useAttribute (Struts Tiles Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## tiles
Tag useAttribute

Use attribute value inside page.

Declare a Java variable, and an attribute in the specified scope, using tile attribute value.

Java variable and attribute will have the name specified by 'id', or the original name if not specified.

Tag Information
Tag Class | org.apache.struts.tiles.taglib.UseAttributeTag
TagExtraInfo Class | org.apache.struts.tiles.taglib.UseAttributeTei
Body Content | empty
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
id | false | false | `java.lang.String` | Declared attribute and variable name.
classname | false | false | `java.lang.String` | Class of the declared variable.
scope | false | false | `java.lang.String` | Scope of the declared attribute. Default to 'page'.
name | true | true | `java.lang.String` | Tile's 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 error. The default value is false, which will cause a runtime exception to be thrown.

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.