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

org.apache.tiles.jsp.taglib
Class InsertTemplateTag

Package class diagram package InsertTemplateTag
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.InsertTemplateTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, PutAttributeTagParent, PutListAttributeTagParent
Direct Known Subclasses:
InsertDefinitionTag

public class InsertTemplateTag
extends RenderTag

This is the tag handler for <tiles:insertTemplate>, which includes a template ready to be filled.

Version:
$Rev: 736275 $ $Date: 2009-01-21 10:58:20 +0100 (mer, 21 gen 2009) $
See Also:
Serialized Form

Field Summary
protected  String template
          A string representing the URI of a template (for example, a JSP page).
 
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
InsertTemplateTag()
           
 
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 renderContext()
          Renders the current context.
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 org.apache.tiles.jsp.taglib.RenderTag
doEndTag, doStartTag, endContext, getPreparer, getRole, isFlush, isIgnore, processNestedTag, processNestedTag, 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
 

Field Detail

template

protected String template
A string representing the URI of a template (for example, a JSP page).

Since:
2.1.0
Constructor Detail

InsertTemplateTag

public InsertTemplateTag()
Method Detail

getTemplate

public String getTemplate()
Returns a string representing the URI of a template (for example, a JSP page).

Returns:
The template URI.
Since:
2.1.0

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.
Since:
2.1.0

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 RenderTag

render

protected void render()
               throws IOException
Render the specified content.

Specified by:
render in class RenderTag
Throws:
IOException - if an io exception occurs.

renderContext

protected void renderContext()
                      throws IOException
Renders the current context.

Throws:
IOException - if an io exception occurs.


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