Class OnChangeAjaxBehavior

All Implemented Interfaces:
Serializable, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable
Direct Known Subclasses:
FilesSelectedBehavior

A behavior that updates the hosting FormComponent's model via Ajax when value of the component is changed.

For TextField and TextArea form components this behavior uses JavaScript input and change events, for other form component types only JavaScript change event is used.
Note: JavaScript change event is being fired by the browser also when the HTML form element losses the focus, i.e. an Ajax call will be made even if there is no actual change of the form element's value!

Since:
1.3
Author:
Janne Hietamäki (janne)
See Also: