tiles:definition

 < Day Day Up > 



<tiles:definition />

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.

Table 17.2: <tiles:definition /> Tag Attributes

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 > 



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