|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.apache.tiles.template.PutListAttributeModel
public class PutListAttributeModel
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 Summary | |
|---|---|
PutListAttributeModel()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PutListAttributeModel()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||