public abstract class OnChangeAjaxBehavior extends AjaxFormComponentUpdatingBehavior
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 for text input form components it uses a custom event, named 'inputchange', that is handled in the best way for the specific browser. For other form component types the 'change' event is used.
AjaxFormComponentUpdatingBehavior,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME
'inputchange' event delegates to 'input', 'keyup', 'cut' and 'paste' events
for text input form component depending on the browser.
|
INDICATORINTERFACE| Constructor and Description |
|---|
OnChangeAjaxBehavior()
Constructor.
|
checkComponent, disableFocusOnBlur, getFormComponent, getUpdateModel, onBind, onError, onEvent, onUpdate, updateAjaxAttributesgetEvent, onCheckEvent, renderHead, respondfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemovepublic static final String EVENT_NAME
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.