public class AddListAttributeModel extends 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.
Constructor and Description |
---|
AddListAttributeModel() |
Modifier and Type | Method and Description |
---|---|
void |
execute(String role,
org.apache.tiles.request.Request request,
org.apache.tiles.autotag.core.runtime.ModelBody modelBody)
Executes the model.
|
public void execute(String role, org.apache.tiles.request.Request request, org.apache.tiles.autotag.core.runtime.ModelBody modelBody) throws IOException
role
- The comma-separated list of roles that can use the list attribute.request
- The request.modelBody
- The body.IOException
- If the body cannot be evaluated.Copyright © 2016. All rights reserved.