This project has retired. For details please refer to its Attic page.
InsertDefinitionTag (Tiles 2 2.0.7 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.RoleSecurityTagSupport
                  extended by org.apache.tiles.jsp.taglib.ContainerTagSupport
                      extended by org.apache.tiles.jsp.taglib.RenderTagSupport
                          extended by org.apache.tiles.jsp.taglib.InsertDefinitionTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, 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.

Version:
$Rev: 527536 $ $Date: 2007-04-11 17:44:51 +0200 (Wed, 11 Apr 2007) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.tiles.jsp.taglib.RenderTagSupport
flush, ignore, preparer
 
Fields inherited from class org.apache.tiles.jsp.taglib.ContainerTagSupport
attributeContext, container
 
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.
protected  void render()
          Render the specified content.
 void setName(String name)
          Sets the name of the definition to insert.
 
Methods inherited from class org.apache.tiles.jsp.taglib.RenderTagSupport
doStartTag, execute, getPreparer, isFlush, isIgnore, processNestedTag, reset, setFlush, setIgnore, setPreparer
 
Methods inherited from class org.apache.tiles.jsp.taglib.ContainerTagSupport
doEndTag, endContext, release, startContext
 
Methods inherited from class org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
getRole, isAccessAllowed, setRole
 
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 org.apache.tiles.jsp.taglib.PutAttributeTagParent
processNestedTag
 
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.

render

protected void render()
               throws JspException,
                      TilesException
Render the specified content.

Specified by:
render in class RenderTagSupport
Throws:
JspException - if a jsp exception occurs.
TilesException - if a prepare or render exception occurs.


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