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
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.tiles.jsp.taglib.TilesBodyTag
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
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
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 java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
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.
ContainerTagSupport
public ContainerTagSupport ()
Deprecated.
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.