org.apache.struts.tiles.taglib
Class AddTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.struts.tiles.taglib.PutTag
              extended by org.apache.struts.tiles.taglib.AddTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, Tag, ComponentConstants

public class AddTag
extends PutTag

Add an element to the surrounding list tag. Same syntax as <put>.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.tiles.taglib.PutTag
attributeName, body, realValue
 
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 org.apache.struts.tiles.taglib.ComponentConstants
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY
 
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
AddTag()
          default constructor
 
Method Summary
protected  void callParent()
          Call parent tag which must implement AttributeContainer.
protected  AddTagParent findEnclosingPutListTagParent()
          Find parent tag which must implement AttributeContainer.
 
Methods inherited from class org.apache.struts.tiles.taglib.PutTag
computeRealValue, doAfterBody, doEndTag, doStartTag, findEnclosingPutTagParent, getBeanName, getBeanProperty, getBeanScope, getContent, getName, getRealValue, getRealValueFromBean, getRole, getType, getValue, release, releaseInternal, setBeanName, setBeanProperty, setBeanScope, setContent, setContent, setDirect, setName, setObjectValue, setRole, setType, setValue, setValue
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
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

AddTag

public AddTag()
default constructor

Method Detail

callParent

protected void callParent()
                   throws JspException
Call parent tag which must implement AttributeContainer.

Overrides:
callParent in class PutTag
Throws:
JspException - If we can't find an appropriate enclosing tag.

findEnclosingPutListTagParent

protected AddTagParent findEnclosingPutListTagParent()
                                              throws JspException
Find parent tag which must implement AttributeContainer.

Throws:
JspException - If we can't find an appropriate enclosing tag.


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