|
| < Day Day Up > |
|
The <tiles:definition /> tag is used to create a JavaBean representation of a Tiles template definition that is stored in the named scope bound to the identifier named by the id attribute. The <tiles:definition /> tag acts much like a runtime counterpart to the XML <definition /> found in the Tiles definitions file. The <tiles:definition /> tag has a body type of JSP and supports six attributes, described in Table 17.2.
| Attribute | Description |
|---|---|
| id | The identifier that the created JavaBean will be bound to. (Required) |
| scope | The scope location of the created JavaBean. The default value is page. (Optional) |
| template | A URI identifying a Tiles component that will be associated to this component. (Optional) |
| page | A URL identifying a Tiles template or component that will be associated to this definition. (Optional) |
| role | The required role for evaluating this <tiles:definition /> tag. If the requesting user is not in the named role, then this tag is ignored. (Optional) |
| extends | An optional parent template definition that is used to initialize this <tiles:definition /> instance. (Optional) |
|
| < Day Day Up > |
|