org.apache.myfaces.tobago.taglib.component
Class AttributeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.myfaces.tobago.taglib.component.AttributeTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class AttributeTag
- extends TagSupport
Add an attribute on the UIComponent
associated with the closest parent UIComponent custom action.
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, 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 |
AttributeTag
public AttributeTag()
setName
public void setName(String name)
- The name of a attribute.
- Parameters:
name
- A attribute name
setValue
public void setValue(String value)
- The value of a attribute
- Parameters:
value
- A attribute value
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class TagSupport
- Throws:
JspException
- if a JSP error occurs
release
public void release()
Release references to any acquired resources.
- Specified by:
release
in interface Tag
- Overrides:
release
in class TagSupport
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.