This project has retired. For details please refer to its Attic page.
SetCurrentContainerTag (Tiles 2 2.1.4 API)

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

Package class diagram package SetCurrentContainerTag
java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.tiles.jsp.taglib.TilesTag
          extended by org.apache.tiles.jsp.taglib.definition.SetCurrentContainerTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag, TryCatchFinally

public class SetCurrentContainerTag
extends TilesTag

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

Since:
2.1.0
Version:
$Rev: 727707 $ $Date: 2008-12-18 13:35:57 +0100 (gio, 18 dic 2008) $
See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
SetCurrentContainerTag()
           
 
Method Summary
 int doEndTag()
          
 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(String containerKey)
          Sets the key under which the container is stored.
 
Methods inherited from class org.apache.tiles.jsp.taglib.TilesTag
doCatch, doFinally, release
 
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
 

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

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 JspException

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Throws:
JspException


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