org.apache.tiles.jsp.taglib.definition
Class SetCurrentContainerTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.tiles.jsp.taglib.TilesTag
org.apache.tiles.jsp.taglib.definition.SetCurrentContainerTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
public class SetCurrentContainerTag
- extends TilesTag
Sets the current container, to be used by Tiles tags.
- Since:
- 2.1.0
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
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 |
Method Summary |
int |
doEndTag()
|
java.lang.String |
getContainerKey()
Returns the key under which the container is stored. |
protected void |
reset()
Release any per-invocation resources, resetting any resources or state
that should be cleared between successive invocations of
Tag.doEndTag() and
Tag.doStartTag() . |
void |
setContainerKey(java.lang.String containerKey)
Sets the key under which the container is stored. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, 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 |
SetCurrentContainerTag
public SetCurrentContainerTag()
getContainerKey
public java.lang.String getContainerKey()
- Returns the key under which the container is stored.
- Returns:
- the containerKey The container key.
- Since:
- 2.1.0
setContainerKey
public void setContainerKey(java.lang.String containerKey)
- Sets the key under which the container is stored.
- Parameters:
containerKey
- the containerKey The container key.- Since:
- 2.1.0
reset
protected void reset()
- Release any per-invocation resources, resetting any resources or state
that should be cleared between successive invocations of
Tag.doEndTag()
and
Tag.doStartTag()
.
- Overrides:
reset
in class TilesTag
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException