Save This Page
Home » tiles-2.0.6-src » org.apache.tiles.jsp » taglib » [javadoc | source]
org.apache.tiles.jsp.taglib
public class: InsertAttributeTag [javadoc | source]
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.InsertAttributeTag

All Implemented Interfaces:
    PutAttributeTagParent, BodyTag, IterationTag, Serializable

Direct Known Subclasses:
    GetAsStringTag

This is the tag handler for <tiles:attribute>, which defines an attribute. If the attribute value is a template or a definition, its attributes and its template can be overridden.
Field Summary
protected  String name    Name to insert. 
protected  Object value    The value of the attribute. 
protected  AttributeContext evaluatingContext    The context used to evaluate the attribute. 
Fields inherited from org.apache.tiles.jsp.taglib.RenderTagSupport:
preparer,  flush,  ignore
Fields inherited from org.apache.tiles.jsp.taglib.ContainerTagSupport:
container,  attributeContext
Method from org.apache.tiles.jsp.taglib.InsertAttributeTag Summary:
getName,   getValue,   release,   render,   render,   setName,   setValue,   startContext
Methods from org.apache.tiles.jsp.taglib.RenderTagSupport:
doStartTag,   execute,   getPreparer,   isFlush,   isIgnore,   processNestedTag,   release,   render,   setFlush,   setIgnore,   setPreparer
Methods from org.apache.tiles.jsp.taglib.ContainerTagSupport:
doEndTag,   doStartTag,   endContext,   release,   startContext
Methods from org.apache.tiles.jsp.taglib.RoleSecurityTagSupport:
doEndTag,   execute,   getRole,   isAccessAllowed,   release,   setRole
Methods from javax.servlet.jsp.tagext.BodyTagSupport:
doAfterBody,   doEndTag,   doInitBody,   doStartTag,   getBodyContent,   getPreviousOut,   release,   setBodyContent
Methods from javax.servlet.jsp.tagext.TagSupport:
doAfterBody,   doEndTag,   doStartTag,   findAncestorWithClass,   getId,   getParent,   getValue,   getValues,   release,   removeValue,   setId,   setPageContext,   setParent,   setValue
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.jsp.taglib.InsertAttributeTag Detail:
 public String getName() 
    Returns the name of the attribute.
 public Object getValue() 
    Get the value.
 public  void release() 
    {@inheritDoc}
 protected  void render() throws IOException, JspException, TilesException 
    {@inheritDoc}
 protected  void render(Attribute attr) throws IOException, TilesException 
    Renders an attribute for real.
 public  void setName(String value) 
    Sets the name of the attribute.
 public  void setValue(Object value) 
    Set the value.
 protected  void startContext(PageContext context) 
    {@inheritDoc}