Hi,

A request to IBehaviorListener is the correct behavior!
At the server side it should execute all validators and if they pass then
call onSubmit, otherwise - onError().

Chech whether you have ajaxButton.setDefaultFormProcessing(false) - this
would skip the validation step.

On Jun 10, 2017 6:40 PM, "thewicketguy1992" <[email protected]> wrote:

> Hi im facing an issue when I hit the submit button on my wicket form, I
> dont
> not see an ajax call in my network logs in the context of a
> IFormSubmitListener. Because of this none of my validator classes are being
> exectued. This makes me think wicket doesn't realize im submitting the form
> which i click the submit button. There is however an ajax call to a
> IBehaviorListener , which I think this is whats calling the onSubmit
> method.
> Most important thing to note, this all started happening after I switched
> from a custom wicket Button to a custom ajax wicket button. Any ideas whats
> going on?
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Wicket-form-button-is-going-straight-to-
> onSubmit-without-running-Validator-classes-tp4678016.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to