Add an element to the surrounding list. Equivalent to 'putAttribute', but for list element.
Add an element to the surrounding list. This tag can only be used inside 'putListAttribute' or 'addListAttribute' tags. Value can come from a direct assignment (value="aValue")
Tag Information
Tag Class
org.apache.tiles.jsp.taglib.AddAttributeTag
TagExtraInfo Class
None
Body Content
scriptless
Display Name
None
Attributes
Name
Required
Request-time
Type
Description
value
false
true
java.lang.Object
Attribute value. Can be a String or Object.
expression
false
false
java.lang.String
The expression to calculate the value from. Use this parameter, or value, or body.
type
false
false
java.lang.String
Specify content type: string, template or definition.
string : Content is printed directly.
template : Content is included from specified URL. Value is used as an URL.
definition : Value denote a definition defined in factory (xml file). Definition will be searched in the inserted tile, in a <insertAttribute name="attributeName"> tag, where 'attributeName' is the name used for this tag.
object: the value is used as it is.
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).
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.