org.apache.myfaces.tobago.internal.taglib.component
Class DataAttributeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.myfaces.tobago.internal.taglib.component.DataAttributeTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
DataAttributeTag

public abstract class DataAttributeTag
extends javax.servlet.jsp.tagext.TagSupport

PRELIMINARY - SUBJECT TO CHANGE

Add an data attribute on the UIComponent associated with the closest parent UIComponent custom action. Data attributes will be passed through the renderers into the DOM of the user agent and can be used by scripts.

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
DataAttributeTag()
           
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setName(javax.el.ValueExpression name)
          PRELIMINARY - SUBJECT TO CHANGE

The name of the attribute in the parent component.

 void setValue(javax.el.ValueExpression value)
          PRELIMINARY - SUBJECT TO CHANGE

The value of the attribute in the parent component.

 
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

DataAttributeTag

public DataAttributeTag()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP error occurs

setName

public void setName(javax.el.ValueExpression name)
PRELIMINARY - SUBJECT TO CHANGE

The name of the attribute in the parent component.


setValue

public void setValue(javax.el.ValueExpression value)
PRELIMINARY - SUBJECT TO CHANGE

The value of the attribute in the parent component.



Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.