org.apache.struts.taglib.tiles
Class PutListTag
TagSupport
org.apache.struts.taglib.tiles.PutListTag
- AddTagParent, ComponentConstants, PutListTagParent
public class PutListTag
extends TagSupport
PutList tag implementation.
private String | attributeName - Name of this attribute.
|
private List | list - The list itself.
|
private String | role - Role attribute.
|
attributeName
private String attributeName
Name of this attribute.
list
private List list
The list itself.
role
private String role
Role attribute.
PutListTag
public PutListTag()
Default constructor.
addElement
public void addElement(Object value)
Set property.
doEndTag
public int doEndTag()
throws JspException
Do end tag.
doStartTag
public int doStartTag()
throws JspException
Do start tag.
findEnclosingParent
protected PutListTagParent findEnclosingParent()
throws JspException
Find enclosing parent tag accepting this tag.
getList
public List getList()
Get list defined in tag.
getName
public String getName()
Get property.
getRole
public String getRole()
Get role attribute.
processNestedTag
public void processNestedTag(AddTag nestedTag)
throws JspException
Process nested ≶add> tag.
Method calls by nested ≶add> tags.
Nested attribute is added to current list.
If role is defined, nested attribute is wrapped into an untypped definition
containing attribute value and role.
- processNestedTag in interface AddTagParent
processNestedTag
public void processNestedTag(PutListTag nestedTag)
throws JspException
Process nested ≶putList> tag.
Method calls by nested ≶putList> tags.
Nested list is added to current list.
If role is defined, nested attribute is wrapped into an untypped definition
containing attribute value and role.
- processNestedTag in interface PutListTagParent
release
public void release()
Release all allocated resources.
releaseInternal
protected void releaseInternal()
Release all internal resources.
setName
public void setName(String name)
Set property.
setRole
public void setRole(String role)
Set role attribute.
role
- The role the user must be in to store content.
Copyright B) 2000-2007 - The Apache Software Foundation