|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.template.AddListAttributeModel
public class AddListAttributeModel
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 Summary | |
---|---|
AddListAttributeModel()
|
Method Summary | |
---|---|
void |
end(ArrayStack<Object> composeStack)
Ends the operation. |
void |
start(ArrayStack<Object> composeStack,
String role)
Starts the operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddListAttributeModel()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |