SV: onSubmit method and validators

2010-11-10 Thread Wilhelmsen Tor Iver
> Isn't this the logical place to put this code? Yes, once all validation has passed, you will want to persist the correct data. > Once the user leaves out a certain input, onError() is called and > onSubmit() never gets called again. Strange, it should be called on the next submit if the user

SV: onSubmit method and validators

2010-11-10 Thread Wilhelmsen Tor Iver
> The issue I am having is that once this happens, the onSubmit() method > is no longer called and wicket starts calling the onError() method. Which is as expected: You usually do not want to process a form that fails validation. > Since my business logic is inside the onSubmit() method, it nev