Class OnChangeAjaxBehavior

  • 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 class OnChangeAjaxBehavior
    extends com.googlecode.wicket.jquery.core.ajax.JQueryAjaxPostBehavior
    Provides a JQueryAjaxPostBehavior that aims to be wired to the 'change' event
    It will broadcast a OnChangeAjaxBehavior.ChangeEvent (by default)
    See Also:
    Serialized Form
    • Field Summary

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

        INDICATOR
    • Constructor Summary

      Constructors 
      Constructor Description
      OnChangeAjaxBehavior​(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source, org.apache.wicket.markup.html.form.FormComponent<?>... components)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.wicket.ajax.attributes.CallbackParameter[] getCallbackParameters()  
      protected com.googlecode.wicket.jquery.core.JQueryEvent newEvent()  
      • Methods inherited from class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxPostBehavior

        updateAjaxAttributes
      • Methods inherited from class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior

        getCallbackFunction, respond
      • Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

        findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, 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 interface org.apache.wicket.IRequestListener

        rendersPage
    • Constructor Detail

      • OnChangeAjaxBehavior

        public OnChangeAjaxBehavior​(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
                                    org.apache.wicket.markup.html.form.FormComponent<?>... components)
        Constructor
        Parameters:
        source - the Behavior that will broadcast the event.
        components - the form components to post
    • Method Detail

      • getCallbackParameters

        protected org.apache.wicket.ajax.attributes.CallbackParameter[] getCallbackParameters()
        Overrides:
        getCallbackParameters in class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior
      • newEvent

        protected com.googlecode.wicket.jquery.core.JQueryEvent newEvent()
        Specified by:
        newEvent in class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior