public class PutListAttributeModel extends Object
Declare a list that will be pass as attribute to tile.
Declare a list that will be pass as attribute to tile. List elements are added using the tags 'addAttribute' or 'addListAttribute'. This tag can only be used inside 'insertTemplate', 'insertDefinition', 'definition' tags.
| Constructor and Description |
|---|
PutListAttributeModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
end(TilesContainer container,
ArrayStack<Object> composeStack,
String name,
boolean cascade,
Object... requestItems)
Ends the operation.
|
void |
start(ArrayStack<Object> composeStack,
String role,
boolean inherit)
Starts the operation.
|
public void start(ArrayStack<Object> composeStack, String role, boolean inherit)
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.inherit - If true the list contained in the in the same
attribute of the parent definition will be extended.public void end(TilesContainer container, ArrayStack<Object> composeStack, String name, boolean cascade, Object... requestItems)
container - The Tiles container to use.composeStack - The composing stack.name - The name of the attribute to put.cascade - If true the attribute will be cascaded to all nested attributes.requestItems - The request objects.Copyright © 2025. All rights reserved.