Professional Jakarta Struts (Programmer to Programmer)
|
| < 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.
| 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 > |
|