Professional Jakarta Struts (Programmer to Programmer)
|
| < Day Day Up > |
|
<tiles:add />
The <tiles:add /> tag is used to add parameters to a parameter as defined by a <tiles:putList /> tag. The <tiles:add /> tag has a body type of JSP and supports seven attributes, described in Table 17.5.
| Attribute | Description |
|---|---|
| beanName | Represents an alternative to value, which allows you to use the contents of a JavaBean as the parameter value. (Optional) |
| beanProperty | Used in conjunction with the beanName attribute to identify a JavaBean property that will be used as the parameter value. (Optional) |
| beanScope | Indicates the scope location of the JavaBean identified by the beanName attribute. If the beanScope attribute is not specified, the PageContext.findAttribute() method is used to locate the named bean. (Optional) |
| direct | Indicates how the parameter content is to be handled. If the value is true, then the content is written immediately; otherwise, the content is included. (Optional) |
| role | Represents the required role for evaluating this <tiles:add /> tag. If the requesting user is not in the named role, then this tag is ignored. (Optional) |
| type | Specifies the content type of the value being passed. The possible values are string, page, template, and definition. (Optional) |
| value | The value of the parameter being passed to the <tiles:add /> tag. (Optional) |
|
| < Day Day Up > |
|