This project has retired. For details please refer to its Attic page.
AddListAttributeModel (Tiles 2 2.2.2 API)

org.apache.tiles.template
Class AddListAttributeModel

Package class diagram package AddListAttributeModel
java.lang.Object
  extended by org.apache.tiles.template.AddListAttributeModel

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.

Since:
2.2.0
Version:
$Rev: 797765 $ $Date: 2009-07-25 15:20:26 +0200 (sab, 25 lug 2009) $

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

AddListAttributeModel

public AddListAttributeModel()
Method Detail

start

public void start(ArrayStack<Object> composeStack,
                  String role)
Starts the operation.

Parameters:
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.
Since:
2.2.0

end

public void end(ArrayStack<Object> composeStack)
Ends the operation.

Parameters:
composeStack - The composing stack.
Since:
2.2.0


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.