com.sun.faces.taglib.jsf_core
Class SetPropertyActionListenerTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.sun.faces.taglib.jsf_core.SetPropertyActionListenerTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class SetPropertyActionListenerTag
extends javax.servlet.jsp.tagext.TagSupport

Tag implementation that creates a special ActionListener instance and registers it on the ActionSource associated with our most immediate surrounding instance of a tag whose implementation class is a subclass of UIComponentClassicTagBase. This tag creates no output to the page currently being created.

The ActionListener instance created and installed by this tag has the following behavior and contract.

This tag creates no output to the page currently being created. It is used solely for the side effect of ActionListener creation.

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
SetPropertyActionListenerTag()
           
 
Method Summary
 int doStartTag()
          Create a new instance of the ActionListener class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentClassicTagBase instance.
 void release()
          Release references to any acquired resources.
 void setTarget(javax.el.ValueExpression target)
          Setter for the target attribute
 void setValue(javax.el.ValueExpression value)
           
 
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

SetPropertyActionListenerTag

public SetPropertyActionListenerTag()
Method Detail

setTarget

public void setTarget(javax.el.ValueExpression target)

Setter for the target attribute

Parameters:
target - The new class name

setValue

public void setValue(javax.el.ValueExpression value)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException

Create a new instance of the ActionListener class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentClassicTagBase instance. The behavior of the ActionListener must conform to the class description.

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

release

public void release()

Release references to any acquired resources.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport


Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.