tiles:importAttribute

 < Day Day Up > 



<tiles:importAttribute />

The <tiles:importAttribute /> tag is used to import a Tiles object from the Tiles context into a JSP scriptlet variable, which is stored in the named scope. If the name and scope attributes are not included in the tag instance, then all Tile objects stored in the Tiles context are imported and placed in page scope. The <tiles:importAttribute /> tag has no body and supports three attributes, described in Table 17.9.

Table 17.9: <tiles:importAttribute /> Tag Attributes

Attribute

Description

name

The name of the Tiles object being retrieved. If the name attribute is not included, then all Tiles objects are retrieved. (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