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

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

AddListAttribute tag implementation.

Since:
Tiles 1.0
Version:
$Rev: 783101 $ $Date: 2009-06-09 21:27:26 +0200 (mar, 09 giu 2009) $

Constructor Summary
AddListAttributeTag()
           
 
Method Summary
 void doTag()
          
 String getRole()
          Returns the role to check.
 String getType()
           Returns content type: string, template or definition.
 void setRole(String role)
          Sets the role to check.
 void setType(String type)
           Sets content type: string, template or definition.
 
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()
Returns the role to check. If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped).

Returns:
The role to check.

setRole

public void setRole(String role)
Sets the role to check. If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped).

Parameters:
role - The role to check.

getType

public String getType()

Returns content type: string, template or definition.

Returns:
The attribute type.

setType

public void setType(String type)

Sets content type: string, template or definition.

Parameters:
type - The attribute type.

doTag

public void doTag()
           throws JspException,
                  IOException

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


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