org.apache.tiles.jsp.taglib
Class SetCurrentContainerTag

Package class diagram package SetCurrentContainerTag
java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.apache.tiles.jsp.taglib.SetCurrentContainerTag
All Implemented Interfaces:
JspTag, SimpleTag

public class SetCurrentContainerTag
extends SimpleTagSupport

Selects a container to be used as the "current" container.


Constructor Summary
SetCurrentContainerTag()
           
 
Method Summary
 void doTag()
          
 String getContainerKey()
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetCurrentContainerTag

public SetCurrentContainerTag()
Method Detail

getContainerKey

public 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(String containerKey)
Setter for containerKey property.

Parameters:
containerKey - The key of the container to be used as "current". If null, the default one will be used.

doTag

public void doTag()
           throws JspException,
                  IOException

Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException
IOException


Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.