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

org.apache.tiles.jsp.taglib
Class RenderTagSupport

Package class diagram package RenderTagSupport
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.RenderTag
                  extended by org.apache.tiles.jsp.taglib.RenderTagSupport
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, PutAttributeTagParent, PutListAttributeTagParent

Deprecated. Use RenderTag.

@Deprecated
public abstract class RenderTagSupport
extends RenderTag

Support for all tags which render (an attribute, a template, or definition).

Properly invokes the defined preparer and invokes the abstract render method upon completion.

This tag takes special care to ensure that the attribute context is reset to it's original state after the execution of the tag is complete. This ensures that all all included attributes in subsequent tiles are scoped properly and do not bleed outside their intended scope.

Version:
$Rev: 728014 $ $Date: 2008-12-19 13:51:00 +0100 (ven, 19 dic 2008) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.tiles.jsp.taglib.RenderTag
attributeContext, container, flush, ignore, preparer, role
 
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
RenderTagSupport()
          Deprecated.  
 
Method Summary
protected  void execute()
          Deprecated. Use RenderTag.render().
protected  boolean isAccessAllowed()
          Deprecated. Implement access allowance in your own tag.
 
Methods inherited from class org.apache.tiles.jsp.taglib.RenderTag
doEndTag, doStartTag, endContext, getPreparer, getRole, isFlush, isIgnore, processNestedTag, processNestedTag, render, reset, setFlush, setIgnore, setPreparer, setRole, startContext
 
Methods inherited from class org.apache.tiles.jsp.taglib.TilesBodyTag
doCatch, doFinally, release
 
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
 

Constructor Detail

RenderTagSupport

public RenderTagSupport()
Deprecated. 
Method Detail

execute

protected void execute()
                throws TilesJspException,
                       IOException
Deprecated. Use RenderTag.render().

Execute the tag by invoking the preparer, if defined, and then rendering.

Throws:
TilesJspException - if a jsp exception occurs.
IOException - if an io exception occurs.

isAccessAllowed

protected boolean isAccessAllowed()
Deprecated. Implement access allowance in your own tag.

Checks if the user is inside the specified role.

Returns:
true if the user is allowed to have the tag rendered.


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