org.apache.tiles.jsp.taglib
Class RenderTagSupport
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.tiles.jsp.taglib.TilesBodyTag
org.apache.tiles.jsp.taglib.RenderTag
org.apache.tiles.jsp.taglib.RenderTagSupport
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.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.
- See Also:
- Serialized Form
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 |
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 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 |
RenderTagSupport
public RenderTagSupport()
- Deprecated.
execute
protected void execute()
throws TilesJspException,
java.io.IOException
- Deprecated. Use
RenderTag.render()
.
- Execute the tag by invoking the preparer, if defined, and then
rendering.
- Throws:
TilesJspException
- if a jsp exception occurs.
java.io.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.