org.apache.tiles.jsp.taglib
Class InsertTemplateTag
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.InsertTemplateTag
- 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 InsertTemplateTag
- extends RenderTagSupport
- implements PutAttributeTagParent
This is the tag handler for <tiles:insertTemplate>, which includes a
template ready to be filled.
- 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 |
getTemplate()
Returns a string representing the URI of a template (for example, a JSP
page). |
protected void |
render()
Render the specified content. |
void |
setTemplate(java.lang.String template)
Sets a string representing the URI of a template (for example, a JSP
page). |
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 |
InsertTemplateTag
public InsertTemplateTag()
getTemplate
public java.lang.String getTemplate()
- Returns a string representing the URI of a template (for example, a JSP
page).
- Returns:
- The template URI.
setTemplate
public void setTemplate(java.lang.String template)
- Sets a string representing the URI of a template (for example, a JSP
page).
- Parameters:
template
- The template URI.
render
protected void render()
throws javax.servlet.jsp.JspException
- Render the specified content.
- Specified by:
render
in class RenderTagSupport
- Throws:
javax.servlet.jsp.JspException
- if a jsp exception occurs.