UI-Component Sets
Project Documentation


Tag name: <f:valueChangeListener>
Tag class: org.apache.myfaces.taglib.core.ValueChangeListenerTag
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.


Name Type Required Description
type String true The name of a Java class that implements ValueChangeListener.