Class ButtonAjaxPostBehavior

  • 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 ButtonAjaxPostBehavior
    extends ButtonAjaxBehavior
    Provides a specialization of ButtonAjaxBehavior that handles form-submit
    Author:
    Sebastien Briquet - sebfz1
    See Also:
    Serialized Form
    • Field Summary

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

        INDICATOR
    • Constructor Summary

      Constructors 
      Constructor Description
      ButtonAjaxPostBehavior​(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source, DialogButton button, org.apache.wicket.markup.html.form.Form<?> form)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void updateAjaxAttributes​(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
      The form may intentionally be null
      • Methods inherited from class com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior

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

        findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
      • 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

      • ButtonAjaxPostBehavior

        public ButtonAjaxPostBehavior​(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
                                      DialogButton button,
                                      org.apache.wicket.markup.html.form.Form<?> form)
        Constructor
        Parameters:
        source - the IJQueryAjaxAware
        button - the DialogButton
        form - the Form
    • Method Detail

      • updateAjaxAttributes

        protected void updateAjaxAttributes​(org.apache.wicket.ajax.attributes.AjaxRequestAttributes attributes)
        The form may intentionally be null
        Overrides:
        updateAjaxAttributes in class ButtonAjaxBehavior