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

tilesx
Tag useAttribute


Use attribute value inside page.

Declare a Java variable, and an attribute in the specified scope, using its 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.tiles.jsp.taglib.UseAttributeTag
TagExtraInfo Classorg.apache.tiles.jsp.taglib.UseAttributeTag$Tei
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.String

Declared attribute and variable name.

classnamefalsetruejava.lang.String

Class of the declared variable.

scopefalsefalsejava.lang.String

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

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 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.