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

public abstract class WiQueryAjaxEventBehavior extends WiQueryAbstractAjaxBehavior
$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

    options

    Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

    INDICATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected void
     
    protected abstract void
    onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
    onEvent is called back when the ajax request is made.
    protected void
    respond(org.apache.wicket.ajax.AjaxRequestTarget target)
     
    protected void
    updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
     

    Methods inherited from class org.wicketstuff.wiquery.core.behavior.WiQueryAbstractAjaxBehavior

    getBehaviorComponent, getOptions, setEventListener

    Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

    findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead

    Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior

    afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind

    Methods inherited from class org.apache.wicket.behavior.Behavior

    beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.wicket.IRequestListener

    rendersPage
  • Constructor Details

    • WiQueryAjaxEventBehavior

      public WiQueryAjaxEventBehavior(EventLabel... events)
  • Method Details

    • updateAjaxAttributes

      protected void updateAjaxAttributes(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
      Overrides:
      updateAjaxAttributes in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
    • onBind

      protected void onBind()
      Overrides:
      onBind in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
    • respond

      protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
      Overrides:
      respond in class WiQueryAbstractAjaxBehavior
    • 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

      protected String getPrecondition()