Package org.apache.tiles.template
Class AddListAttributeModel
- java.lang.Object
-
- org.apache.tiles.template.AddListAttributeModel
-
public class AddListAttributeModel extends java.lang.Object
Declare a list that will be pass as an attribute.
Declare a list that will be pass as an attribute . List elements are added using the tag 'addAttribute' or 'addListAttribute'. This tag can only be used inside 'insertTemplate', 'insertDefinition' or 'definition' tag.
- Since:
- 2.2.0
- Version:
- $Rev: 1305937 $ $Date: 2012-03-28 05:15:15 +1100 (Wed, 28 Mar 2012) $
-
-
Constructor Summary
Constructors Constructor Description AddListAttributeModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.lang.String role, org.apache.tiles.request.Request request, org.apache.tiles.autotag.core.runtime.ModelBody modelBody)
Executes the model.
-
-
-
Method Detail
-
execute
public void execute(java.lang.String role, org.apache.tiles.request.Request request, org.apache.tiles.autotag.core.runtime.ModelBody modelBody) throws java.io.IOException
Executes the model.- Parameters:
role
- The comma-separated list of roles that can use the list attribute.request
- The request.modelBody
- The body.- Throws:
java.io.IOException
- If the body cannot be evaluated.
-
-