Package org.apache.tiles.jsp.taglib
Class SetCurrentContainerTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.apache.tiles.jsp.taglib.SetCurrentContainerTag
- All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.SimpleTag
public class SetCurrentContainerTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
Selects a container to be used as the "current" container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doTag()
Getter for containerKey property.void
setContainerKey
(String containerKey) Setter for containerKey property.Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
SetCurrentContainerTag
public SetCurrentContainerTag()
-
-
Method Details
-
getContainerKey
Getter for containerKey property.- Returns:
- The key of the container to be used as "current". If
null
, the default one will be used.
-
setContainerKey
Setter for containerKey property.- Parameters:
containerKey
- The key of the container to be used as "current". Ifnull
, the default one will be used.
-
doTag
- Specified by:
doTag
in interfacejavax.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjavax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
javax.servlet.jsp.JspException
IOException
-