|
||||||||||
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.tiles.taglib.PutListTag
public class PutListTag
PutList tag implementation.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface org.apache.struts.tiles.taglib.ComponentConstants |
---|
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
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(Object value)
Set property. |
int |
doEndTag()
Do end tag. |
int |
doStartTag()
Do start tag. |
protected PutListTagParent |
findEnclosingParent()
Find enclosing parent tag accepting this tag. |
List |
getList()
Get list defined in tag. |
String |
getName()
Get property. |
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(String name)
Set property. |
void |
setRole(String role)
Set role attribute. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, 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 |
Constructor Detail |
---|
public PutListTag()
Method Detail |
---|
public void release()
release
in interface Tag
release
in class TagSupport
protected void releaseInternal()
public void setName(String name)
public String getName()
public void setRole(String role)
role
- The role the user must be in to store content.public String getRole()
public List getList()
public void addElement(Object value)
public void processNestedTag(PutListTag nestedTag) throws JspException
processNestedTag
in interface PutListTagParent
nestedTag
- Nested PutTag defining the attribute.
JspException
public void processNestedTag(AddTag nestedTag) throws JspException
processNestedTag
in interface AddTagParent
nestedTag
- Nested to process.
JspException
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException
protected PutListTagParent findEnclosingParent() throws JspException
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 |