org.apache.myfaces.taglib.core
Class ValueChangeListenerTag
java.lang.Object
   javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.TagSupport
       org.apache.myfaces.taglib.core.ValueChangeListenerTag
org.apache.myfaces.taglib.core.ValueChangeListenerTag
- All Implemented Interfaces: 
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
- public class ValueChangeListenerTag 
- extends javax.servlet.jsp.tagext.TagSupport
Adds the specified ValueChangeListener to the nearest parent
 UIComponent (which is expected to be a UIInput component).
 Whenever the form containing the parent UIComponent is submitted,
 an instance of the specified type is created. If the submitted
 value from the component is different from the component's current
 value then a ValueChangeEvent is queued. When the ValueChangeEvent
 is processed (at end of the validate phase for non-immediate components,
 or at end of the apply-request-values phase for immediate components)
 the object's processValueChange method is invoked.
 
 Unless otherwise specified, all attributes accept static values
 or EL expressions.
- Version:
- $Revision: 670058 $ $Date: 2008-06-20 15:54:48 -0500 (Fri, 20 Jun 2008) $
- Author:
- Manfred Geiler (latest modification by $Author: skitching $)
- See Also:
- Serialized Form
 
| 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 | 
 
 
| Method Summary | 
|  int | doStartTag()
 | 
|  void | setType(java.lang.String type)The name of a Java class that implements ValueChangeListener.
 | 
 
| 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 | 
 
ValueChangeListenerTag
public ValueChangeListenerTag()
setType
public void setType(java.lang.String type)
- The name of a Java class that implements ValueChangeListener.
 
- 
 
doStartTag
public int doStartTag()
               throws javax.servlet.jsp.JspException
- 
- Specified by:
- doStartTagin interface- javax.servlet.jsp.tagext.Tag
- Overrides:
- doStartTagin class- javax.servlet.jsp.tagext.TagSupport
 
- 
- Throws:
- javax.servlet.jsp.JspException
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.