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 Classorg.apache.struts.tiles.taglib.UseAttributeTag
TagExtraInfo Classorg.apache.struts.tiles.taglib.UseAttributeTei
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsefalsejava.lang.String

Declared attribute and variable name.

classnamefalsefalsejava.lang.String

Class of the declared variable.

scopefalsefalsejava.lang.String

Scope of the declared attribute. Default to 'page'.

nametruetruejava.lang.String

Tile's attribute name.

ignorefalsetrueboolean

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.


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.