| |||||||
FRAMES NO FRAMES |
Add an element to the surrounding list. Equivalent to 'put', but for list element.
Add an element to the surrounding list. This tag can only be used inside putList tag. Value can come from a direct assignment (value="aValue") or from a bean. One of 'value' or 'beanName' must be present.
Tag Information | |
Tag Class | org.apache.struts.tiles.taglib.AddTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
value | false | false | java.lang.String | Element value. Can be a String or Object. |
content | false | true | java.lang.String | Element value. Can be a String or Object. Synonym to value. Attribute added for compatibility with JSP Template. |
direct | false | false | java.lang.String | Determines how content is handled: true means content is printed direct |
type | false | false | java.lang.String | Specify content type: string, page, template or instance.
|
beanName | false | true | java.lang.String | Name of the bean used as value. Bean is retrieved from specified context, if any. Otherwise, method pageContext.findAttribute is used. If beanProperty is specified, retrieve value from the corresponding bean property. |
beanProperty | false | true | java.lang.String | Bean property name. If specified, value is retrieve from this property. Support nested/indexed properties. |
beanScope | false | false | java.lang.String | Scope into which bean is searched. If not specified, method pageContext.findAttribute is used. Scope can be any JSP scope, 'component', or 'template'. In these two later cases, bean is search in tile/component/template context. |
role | false | true | java.lang.String | If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped). The role isn't taken into account if |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |