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

org.apache.tiles.jsp.taglib
Class ContainerTagSupport

Package class diagram package ContainerTagSupport
java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.tiles.jsp.taglib.TilesBodyTag
              extended by org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
                  extended by org.apache.tiles.jsp.taglib.ContainerTagSupport
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally

Deprecated. Use RenderTag.

public abstract class ContainerTagSupport
extends RoleSecurityTagSupport

Base tag for the tiles tags which interact with the container. Provides standard support for security, and provides access to the container and attribute context.

Since:
Tiles 2.0
Version:
$Rev: 734996 $ $Date: 2009-01-16 14:27:28 +0100 (ven, 16 gen 2009) $
See Also:
Serialized Form

Field Summary
protected  AttributeContext attributeContext
          Deprecated. The attribute context to use to store and read attribute values.
protected  TilesContainer container
          Deprecated. The Tiles container that can be used inside the tag.
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
ContainerTagSupport()
          Deprecated.  
 
Method Summary
 int doEndTag()
          Deprecated. 
 int doStartTag()
          Deprecated. By default, all ContainerTags evaluate their body.
protected  void endContext(PageContext context)
          Deprecated. Ends the context when exiting the tag.
 void release()
          Deprecated. Release any per-instance resources, releasing any resources or state before this tag instance is disposed.
protected  void startContext(PageContext context)
          Deprecated. Starts the context when entering the tag.
 
Methods inherited from class org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
execute, getRole, isAccessAllowed, reset, setRole
 
Methods inherited from class org.apache.tiles.jsp.taglib.TilesBodyTag
doCatch, doFinally
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

container

protected TilesContainer container
Deprecated. 
The Tiles container that can be used inside the tag.


attributeContext

protected AttributeContext attributeContext
Deprecated. 
The attribute context to use to store and read attribute values.

Constructor Detail

ContainerTagSupport

public ContainerTagSupport()
Deprecated. 
Method Detail

doStartTag

public int doStartTag()
               throws TilesJspException
Deprecated. 
By default, all ContainerTags evaluate their body. Subclasses may choose to be more selective. In any case, children can rely upon the container and attributeContext being initialized if they call super.doStartTag()

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Returns:
EVAL_BODY_BUFFERED.
Throws:
TilesJspException - If the container has not been initialized.

doEndTag

public int doEndTag()
             throws TilesJspException
Deprecated. 

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class RoleSecurityTagSupport
Throws:
TilesJspException

release

public void release()
Deprecated. 
Release any per-instance resources, releasing any resources or state before this tag instance is disposed.

Specified by:
release in interface Tag
Overrides:
release in class TilesBodyTag
See Also:
Tag.release()

startContext

protected void startContext(PageContext context)
Deprecated. 
Starts the context when entering the tag.

Parameters:
context - The page context to use.

endContext

protected void endContext(PageContext context)
Deprecated. 
Ends the context when exiting the tag.

Parameters:
context - The page context to use.


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