Class WiQueryAjaxEventBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior
org.wicketstuff.wiquery.core.events.WiQueryAjaxEventBehavior
- All Implemented Interfaces:
Serializable,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.IRequestListener,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
$Id: WiQueryAjaxEventBehavior.java 1714M 2012-01-17 08:32:44Z (local) $
Binds the given Event to an Ajax request.
- Since:
- 0.5
- Author:
- Lionel Armanet
- See Also:
-
Field Summary
Fields inherited from class org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior
optionsFields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidonBind()protected abstract voidonEvent(org.apache.wicket.ajax.AjaxRequestTarget target) onEvent is called back when the ajax request is made.protected voidrespond(org.apache.wicket.ajax.AjaxRequestTarget target) protected voidupdateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) Methods inherited from class org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior
getBehaviorComponent, getOptions, setEventListenerMethods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHeadMethods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindMethods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
Constructor Details
-
WiQueryAjaxEventBehavior
-
-
Method Details
-
updateAjaxAttributes
protected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes) - Overrides:
updateAjaxAttributesin classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
onBind
protected void onBind()- Overrides:
onBindin classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
respond
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
respondin classWiQueryAbstractAjaxBehavior
-
onEvent
protected abstract void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target) onEvent is called back when the ajax request is made.- Parameters:
target- The Ajax request target
-
getPrecondition
-