Class ValueChangeListenerTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    @JSFJspTag(name="f:valueChangeListener",
               bodyContent="empty")
    public class ValueChangeListenerTag
    extends GenericListenerTag<EditableValueHolder,​ValueChangeListener>
    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$ $Date$
    Author:
    Manfred Geiler (latest modification by $Author$)
    See Also:
    Serialized Form