org.apache.tiles.jsp.taglib.definition
Class SetCurrentContainerTag

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

public class SetCurrentContainerTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

Sets the current container, to be used by Tiles tags.

Since:
2.1.0
Version:
$Rev: 783101 $ $Date: 2009-06-09 21:27:26 +0200 (mar, 09 giu 2009) $

Constructor Summary
SetCurrentContainerTag()
           
 
Method Summary
 void doTag()
          
 String getContainerKey()
          Returns the key under which the container is stored.
 void setContainerKey(String containerKey)
          Sets the key under which the container is stored.
 
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()
Returns the key under which the container is stored.

Returns:
the containerKey The container key.
Since:
2.1.0

setContainerKey

public void setContainerKey(String containerKey)
Sets the key under which the container is stored.

Parameters:
containerKey - the containerKey The container key.
Since:
2.1.0

doTag

public void doTag()
           throws javax.servlet.jsp.JspException

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException


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