|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--org.apache.struts.taglib.tiles.PutListTag
PutList tag implementation.
Field Summary | |
private java.lang.String |
attributeName
Name of this attribute. |
private java.util.List |
list
The list itself. |
private java.lang.String |
role
Role attribute. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface org.apache.struts.taglib.tiles.ComponentConstants |
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
PutListTag()
Default constructor. |
Method Summary | |
void |
addElement(java.lang.Object value)
Set property. |
int |
doEndTag()
Do end tag. |
int |
doStartTag()
Do start tag. |
protected PutListTagParent |
findEnclosingParent()
Find enclosing parent tag accepting this tag. |
java.util.List |
getList()
Get list defined in tag. |
java.lang.String |
getName()
Get property. |
java.lang.String |
getRole()
Get role attribute. |
void |
processNestedTag(AddTag nestedTag)
Process nested ≶add> tag. |
void |
processNestedTag(PutListTag nestedTag)
Process nested ≶putList> tag. |
void |
release()
Release all allocated resources. |
protected void |
releaseInternal()
Release all internal resources. |
void |
setName(java.lang.String name)
Set property. |
void |
setRole(java.lang.String role)
Set role attribute. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String attributeName
private java.util.List list
private java.lang.String role
Constructor Detail |
public PutListTag()
Method Detail |
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
protected void releaseInternal()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setRole(java.lang.String role)
role
- The role the user must be in to store content.public java.lang.String getRole()
public java.util.List getList()
public void addElement(java.lang.Object value)
public void processNestedTag(PutListTag nestedTag) throws javax.servlet.jsp.JspException
processNestedTag
in interface PutListTagParent
nestedTag
- Nested PutTag defining the attribute.
javax.servlet.jsp.JspException
public void processNestedTag(AddTag nestedTag) throws javax.servlet.jsp.JspException
processNestedTag
in interface AddTagParent
nestedTag
- Nested to process.
javax.servlet.jsp.JspException
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
protected PutListTagParent findEnclosingParent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- If we can't find an appropriate enclosing tag.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |