Save This Page
Home » tiles-2.0.6-src » org.apache.tiles.jsp » taglib » [javadoc | source]
org.apache.tiles.jsp.taglib
abstract public class: ContainerTagSupport [javadoc | source]
java.lang.Object
   javax.servlet.jsp.tagext.TagSupport
      javax.servlet.jsp.tagext.BodyTagSupport
         org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
            org.apache.tiles.jsp.taglib.ContainerTagSupport

All Implemented Interfaces:
    BodyTag, IterationTag, Serializable

Direct Known Subclasses:
    RenderTagSupport, InsertDefinitionTag, InsertTemplateTag, InsertAttributeTag, GetAsStringTag

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.
Field Summary
protected  TilesContainer container    The Tiles container that can be used inside the tag. 
protected  AttributeContext attributeContext    The attribute context to use to store and read attribute values. 
Method from org.apache.tiles.jsp.taglib.ContainerTagSupport Summary:
doEndTag,   doStartTag,   endContext,   release,   startContext
Methods from org.apache.tiles.jsp.taglib.RoleSecurityTagSupport:
doEndTag,   execute,   getRole,   isAccessAllowed,   release,   setRole
Methods from javax.servlet.jsp.tagext.BodyTagSupport:
doAfterBody,   doEndTag,   doInitBody,   doStartTag,   getBodyContent,   getPreviousOut,   release,   setBodyContent
Methods from javax.servlet.jsp.tagext.TagSupport:
doAfterBody,   doEndTag,   doStartTag,   findAncestorWithClass,   getId,   getParent,   getValue,   getValues,   release,   removeValue,   setId,   setPageContext,   setParent,   setValue
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.jsp.taglib.ContainerTagSupport Detail:
 public int doEndTag() throws JspException 
    {@inheritDoc}
 public int doStartTag() throws JspException 
    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()
 protected  void endContext(PageContext context) 
    Ends the context when exiting the tag.
 public  void release() 
    {@inheritDoc}
 protected  void startContext(PageContext context) 
    Starts the context when entering the tag.