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

org.apache.tiles.jsp.taglib
Class InsertDefinitionTag

Package class diagram package InsertDefinitionTag
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
                      extended by org.apache.tiles.jsp.taglib.InsertDefinitionTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, PutAttributeTagParent, PutListAttributeTagParent

public class InsertDefinitionTag
extends InsertTemplateTag

This is the tag handler for <tiles:insertDefinition>, which includes a name, eventually overriding or filling attributes of its template.

Version:
$Rev: 673767 $ $Date: 2008-07-03 21:10:56 +0200 (gio, 03 lug 2008) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.tiles.jsp.taglib.InsertTemplateTag
template
 
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
InsertDefinitionTag()
           
 
Method Summary
 String getName()
          Returns the name of the definition to insert.
 void release()
          Release any per-instance resources, releasing any resources or state before this tag instance is disposed.
protected  void renderContext()
          Renders the current context.
 void setName(String name)
          Sets the name of the definition to insert.
 
Methods inherited from class org.apache.tiles.jsp.taglib.InsertTemplateTag
getTemplate, render, reset, setTemplate
 
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
 
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
 

Constructor Detail

InsertDefinitionTag

public InsertDefinitionTag()
Method Detail

getName

public String getName()
Returns the name of the definition to insert.

Returns:
The name of the definition.

setName

public void setName(String name)
Sets the name of the definition to insert.

Parameters:
name - The name of the definition.

release

public void release()
Release any per-instance resources, releasing any resources or state before this tag instance is disposed.

Specified by:
release in interface Tag
Overrides:
release in class TilesBodyTag
See Also:
Tag.release()

renderContext

protected void renderContext()
Renders the current context.

Overrides:
renderContext in class InsertTemplateTag


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