tiles:useAttribute

 < Day Day Up > 



<tiles:useAttribute />

The <tiles:useAttribute /> tag is used to retrieve a Tiles object from the Tiles context and expose that object as a scriptlet variable. The <tiles:useAttribute /> tag has no body and supports five attributes, described in Table 17.8.

Table 17.8: <tiles:useAttribute /> Tag Attributes

Attribute

Description

name

The name of the Tiles object being retrieved. (Required)

id

The id that the new scriptlet variable will be bound to. (Optional)

className

The fully qualified class name of the Java object being declared. (Optional)

scope

The scope of the newly created object. The default value is page. (Optional)

ignore

If this attribute is true and the Tiles object identified by the name attribute is not found, then this tag is not evaluated. The default value is false. (Optional)



 < Day Day Up > 



Professional Jakarta Struts
Professional Jakarta Struts (Programmer to Programmer)
ISBN: 0764544373
EAN: 2147483647
Year: 2003
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net