tiles:getAsString

 < Day Day Up > 



<tiles:getAsString />

The <tiles:getAsString /> tag is used to retrieve the identified Tiles object, invoke that object the toString() method, and insert the results into the current JspWriter. The <tiles:getAsString /> tag has no body and supports three attributes, described in Table 17.7.

Table 17.7: <tiles:getAsString/> Tag Attributes

Attribute

Description

name

Identifies the name of the Tiles attribute being retrieved. (Required)

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)

role

Represents the required role for evaluating this <tiles:getAsString /> tag. If the requesting user is not in the named role, then this tag is ignored. (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