public class StatelessOnChangeAjaxBehavior extends StatelessAjaxFormComponentUpdatingBehavior
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_CHANGE |
static String |
EVENT_NAME
'inputchange' event delegates to 'input', 'keyup', 'cut' and 'paste' events
for text input form component depending on the browser.
|
| Constructor and Description |
|---|
StatelessOnChangeAjaxBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onUpdate(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) |
getCallbackUrl, getPageParameters, getStatelessHint, onBindcheckComponent, disableFocusOnBlur, getFormComponent, getUpdateModel, onError, onEventgetEvent, onCheckEvent, renderHead, respondfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindpublic static final String EVENT_NAME
public static final String EVENT_CHANGE
protected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
updateAjaxAttributes in class org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehaviorprotected void onUpdate(org.apache.wicket.ajax.AjaxRequestTarget target)
onUpdate in class org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehaviorCopyright © 2015. All rights reserved.