org.apache.tiles.jsp.taglib
Class AddListAttributeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.tiles.jsp.taglib.TilesBodyTag
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
org.apache.tiles.jsp.taglib.AddAttributeTag
org.apache.tiles.jsp.taglib.AddListAttributeTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, AddAttributeTagParent
public class AddListAttributeTag
- extends AddAttributeTag
- implements AddAttributeTagParent
AddListAttribute tag implementation.
- Since:
- Tiles 1.0
- Version:
- $Rev: 727715 $ $Date: 2008-12-18 14:06:06 +0100 (Thu, 18 Dec 2008) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddListAttributeTag
public AddListAttributeTag()
getAttributes
public List<Attribute> getAttributes()
- Get list defined in tag.
- Returns:
- The list of attributes.
setValue
public void setValue(Object object)
- Sets the attribute value.
- Overrides:
setValue
in class AddAttributeTag
- Parameters:
object
- Attribute value. Can be a String or Object.
doStartTag
public int doStartTag()
throws JspException
-
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class BodyTagSupport
- Throws:
JspException
doAfterBody
public int doAfterBody()
throws JspException
- PutListAttributeTag may not have any body, except for PutAttribute tags.
- Specified by:
doAfterBody
in interface IterationTag
- Overrides:
doAfterBody
in class AddAttributeTag
- Returns:
SKIP_BODY
.
- Throws:
JspException
- if a JSP exception has occurred
processNestedTag
public void processNestedTag(AddAttributeTag nestedTag)
- Process nested ≶addAttribute> tag.
Places the value of the nested tag within the
AttributeContext
.It is the responsibility
of the descendent to check security. Tags extending
the ContainerTagSupport
will automatically provide
the appropriate security.
- Specified by:
processNestedTag
in interface AddAttributeTagParent
- Parameters:
nestedTag
- the put tag desciendent.
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.