public class OnChangeAjaxBehavior
extends com.googlecode.wicket.jquery.core.ajax.JQueryAjaxPostBehavior
JQueryAjaxPostBehavior
that aims to be wired to the 'change' eventOnChangeAjaxBehavior.ChangeEvent
(by default)Modifier and Type | Class and Description |
---|---|
static class |
OnChangeAjaxBehavior.ChangeEvent
Provides an event object that will be broadcasted by the
OnChangeAjaxBehavior callback |
Constructor and Description |
---|
OnChangeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
org.apache.wicket.markup.html.form.FormComponent<?>... components)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.wicket.ajax.attributes.CallbackParameter[] |
getCallbackParameters() |
protected com.googlecode.wicket.jquery.core.JQueryEvent |
newEvent() |
updateAjaxAttributes
getCallbackFunction, respond
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
public OnChangeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source, org.apache.wicket.markup.html.form.FormComponent<?>... components)
source
- the Behavior
that will broadcast the event.components
- the form components to postprotected org.apache.wicket.ajax.attributes.CallbackParameter[] getCallbackParameters()
getCallbackParameters
in class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
protected com.googlecode.wicket.jquery.core.JQueryEvent newEvent()
newEvent
in class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
Copyright © 2022 7thWeb. All rights reserved.