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 |
end(ArrayStack<Object> composeStack)
Ends the operation.
|
void |
start(ArrayStack<Object> composeStack,
String role)
Starts the operation.
|
public void start(ArrayStack<Object> composeStack, String role)
composeStack
- The composing stack.role
- A comma-separated list of roles. If present, the attribute
will be rendered only if the current user belongs to one of the roles.public void end(ArrayStack<Object> composeStack)
composeStack
- The composing stack.Copyright © 2016. All rights reserved.