Professional Jakarta Struts (Programmer to Programmer)

 < 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 > 

Категории