org.apache.tiles.jsp.taglib
Class AddListAttributeTag

Package class diagram package AddListAttributeTag
java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.apache.tiles.jsp.taglib.AddListAttributeTag
All Implemented Interfaces:
JspTag, SimpleTag

public class AddListAttributeTag
extends SimpleTagSupport

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
AddListAttributeTag()
           
 
Method Summary
 void doTag()
          
 String getRole()
          Getter for role property.
 void setRole(String role)
          Setter for role property.
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddListAttributeTag

public AddListAttributeTag()
Method Detail

getRole

public String getRole()
Getter for role property.

Returns:
The comma-separated list of roles that can use the list attribute.

setRole

public void setRole(String role)
Setter for role property.

Parameters:
role - The comma-separated list of roles that can use the list attribute.

doTag

public void doTag()
           throws JspException,
                  IOException

Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException
IOException


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