org.apache.myfaces.tobago.taglib.component
Class AttributeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by 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

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
AttributeTag()
           
 
Method Summary
 int doStartTag()
           
 void release()
          Release references to any acquired resources.
 void setName(String name)
          The name of a attribute.
 void setValue(String value)
          The value of a attribute
 
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
 

Constructor Detail

AttributeTag

public AttributeTag()
Method Detail

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.