org.apache.wicket.ajax.form
Class OnChangeAjaxBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.AjaxEventBehavior
org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior
org.apache.wicket.ajax.form.OnChangeAjaxBehavior
- All Implemented Interfaces:
- Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable
public abstract class OnChangeAjaxBehavior
- extends AjaxFormComponentUpdatingBehavior
A behavior that updates the hosting FormComponent
via Ajax when value of the component is
changed.
This behavior uses best available method to track changes on different types of form components.
To accomplish this it uses a custom event, named 'inputchange', that is handled in the best way
for the specific browser.
- Since:
- 1.3
- Author:
- Janne Hietamäki (janne)
- See Also:
AjaxFormComponentUpdatingBehavior
,
Serialized Form
Field Summary |
static String |
EVENT_NAME
The name of the special event that delegates to 'input', 'keyup', 'cut' and 'paste' events
depending on the browser. |
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_NAME
public static final String EVENT_NAME
- The name of the special event that delegates to 'input', 'keyup', 'cut' and 'paste' events
depending on the browser.
- See Also:
- Constant Field Values
OnChangeAjaxBehavior
public OnChangeAjaxBehavior()
- Constructor.
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.