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 FormModifier 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.
|
INDICATOR
INTERFACE
Constructor and Description |
---|
OnChangeAjaxBehavior()
Constructor.
|
checkComponent, disableFocusOnBlur, getFormComponent, getUpdateModel, onBind, onError, onEvent, onUpdate, updateAjaxAttributes
getEvent, onCheckEvent, renderHead, respond
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove
public static final String EVENT_NAME
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.