org.apache.myfaces.custom.valueChangeNotifier
Class ValueChangeNotifierTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.myfaces.custom.valueChangeNotifier.ValueChangeNotifierTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

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

ValueChangeNotifier

Like valueChangeListener, but will send valueChange events after the UPDATE_MODEL phase.
This simply means you CAN update your model values within such an event now.

Version:
$Revision: 673833 $ $Date: 2008-07-03 16:58:05 -0500 (Thu, 03 Jul 2008) $
Author:
Mario Ivankovits (latest modification by $Author: skitching $)
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
ValueChangeNotifierTag()
           
 
Method Summary
 int doStartTag()
           
 void setMethod(javax.el.ValueExpression method)
          The bean.method name of your valueChange method
Currently only methods listeners are supported.
e.g.
protected  void setupClassListener(javax.faces.component.UIComponent component)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, 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

ValueChangeNotifierTag

public ValueChangeNotifierTag()
Method Detail

setMethod

public void setMethod(javax.el.ValueExpression method)
The bean.method name of your valueChange method
Currently only methods listeners are supported.
e.g. myBean.myListenerMethod


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

setupClassListener

protected void setupClassListener(javax.faces.component.UIComponent component)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.