Class AjaxFormSubmitBehavior

    • Constructor Detail

      • AjaxFormSubmitBehavior

        public AjaxFormSubmitBehavior​(String event)
        Constructor. This constructor can only be used when the component this behavior is attached to is inside a form.
        Parameters:
        event - javascript event this behavior is attached to, like onclick
      • AjaxFormSubmitBehavior

        public AjaxFormSubmitBehavior​(Form<?> form,
                                      String event)
        Construct.
        Parameters:
        form - form that will be submitted
        event - javascript event this behavior is attached to, like onclick