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.TilesBodyTag
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:
- Serializable, BodyTag, IterationTag, JspTag, Tag, 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.
- Version:
- $Rev: 727715 $ $Date: 2008-12-18 14:06:06 +0100 (Thu, 18 Dec 2008) $
- See Also:
- Serialized Form
Method Summary |
String |
getTemplate()
Returns a string representing the URI of a template (for example, a JSP
page). |
protected void |
render()
Render the specified content. |
protected void |
reset()
Release any per-invocation resources, resetting any resources or state
that should be cleared between successive invocations of
Tag.doEndTag() and
Tag.doStartTag() . |
void |
setTemplate(String template)
Sets a string representing the URI of a template (for example, a JSP
page). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertTemplateTag
public InsertTemplateTag()
getTemplate
public String getTemplate()
- Returns a string representing the URI of a template (for example, a JSP
page).
- Returns:
- The template URI.
setTemplate
public void setTemplate(String template)
- Sets a string representing the URI of a template (for example, a JSP
page).
- Parameters:
template
- The template URI.
reset
protected void reset()
- Release any per-invocation resources, resetting any resources or state
that should be cleared between successive invocations of
Tag.doEndTag()
and
Tag.doStartTag()
.
- Overrides:
reset
in class RenderTagSupport
render
protected void render()
throws JspException
- Render the specified content.
- Specified by:
render
in class RenderTagSupport
- Throws:
JspException
- if a jsp exception occurs.
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.