org.apache.tiles.jsp.taglib
Class InsertDefinitionTag
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
org.apache.tiles.jsp.taglib.RenderTagSupport
org.apache.tiles.jsp.taglib.InsertDefinitionTag
- 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
public class InsertDefinitionTag
- extends RenderTagSupport
- implements PutAttributeTagParent
This is the tag handler for <tiles:insertDefinition>, which includes a
name, eventually overriding or filling attributes of its template.
- 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 |
Method Summary |
java.lang.String |
getName()
Returns the name of the definition to insert. |
protected void |
render()
Render the specified content. |
void |
setName(java.lang.String name)
Sets the name of the definition to insert. |
Methods inherited from class org.apache.tiles.jsp.taglib.RenderTagSupport |
doCatch, doFinally, doStartTag, execute, getPreparer, isFlush, isIgnore, processNestedTag, release, setFlush, setIgnore, setPreparer |
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 |
InsertDefinitionTag
public InsertDefinitionTag()
getName
public java.lang.String getName()
- Returns the name of the definition to insert.
- Returns:
- The name of the definition.
setName
public void setName(java.lang.String name)
- Sets the name of the definition to insert.
- Parameters:
name
- The name of the definition.
render
protected void render()
throws javax.servlet.jsp.JspException,
org.apache.tiles.TilesException
- Render the specified content.
- Specified by:
render
in class RenderTagSupport
- Throws:
javax.servlet.jsp.JspException
- if a jsp exception occurs.
org.apache.tiles.TilesException
- if a prepare or render exception occurs.