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.SimpleTagSupportSelects a container to be used as the "current" container.
-
-
Constructor Summary
Constructors Constructor Description SetCurrentContainerTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoTag()java.lang.StringgetContainerKey()Getter for containerKey property.voidsetContainerKey(java.lang.String containerKey)Setter for containerKey property.
-
-
-
Method Detail
-
getContainerKey
public java.lang.String 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
public void setContainerKey(java.lang.String containerKey)
Setter for containerKey property.- Parameters:
containerKey- The key of the container to be used as "current". Ifnull, the default one will be used.
-
doTag
public void doTag() throws javax.servlet.jsp.JspException, java.io.IOException- Specified by:
doTagin interfacejavax.servlet.jsp.tagext.SimpleTag- Overrides:
doTagin classjavax.servlet.jsp.tagext.SimpleTagSupport- Throws:
javax.servlet.jsp.JspExceptionjava.io.IOException
-
-