You could add a Button to the form, use the button's onSubmit to do the form processing instead of Form.onSubmit and tell the button to turn of default form processing. That way you can validate the form yourself in in case of a failure set the response page.
Otoh you could also stay on the same page and use a feedbackpanel to display the errors. Would be more user friendly imo since they probably want to try again. Maurice On Wed, Mar 5, 2008 at 7:34 AM, Penn <[EMAIL PROTECTED]> wrote: > > > Hello, > > i have use case, where on the home page i have login form, on form error > like mismatched username or password, I need to redirect to new page and > display the errors. > > Any thougths? > > 'Penn > -- > View this message in context: > http://www.nabble.com/redirect-to-a-new-page-on-form-error--tp15844162p15844162.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]