Re: EqualInputValidator inside WizardStep

2007-10-30 Thread Eelco Hillenius
On 10/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > hrm, i think a good solution to this would be to create a fresh inner > form for every new step. so the outer form contains the wizard > buttons, and an inner form contains the user's panel. > > i think for now you can do that yourself, simply

Re: EqualInputValidator inside WizardStep

2007-10-29 Thread Daniel Kröger
Adding the validator to an embedded form worked! Thanks for your help, Igor! Daniel > -Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Monday, October 29, 2007 6:01 PM > To: users@wicket.apache.org > Subject: Re: EqualInputValidator in

Re: EqualInputValidator inside WizardStep

2007-10-29 Thread Igor Vaynberg
hrm, i think a good solution to this would be to create a fresh inner form for every new step. so the outer form contains the wizard buttons, and an inner form contains the user's panel. i think for now you can do that yourself, simply embed a form into your step's panel and add the validator to t

EqualInputValidator inside WizardStep

2007-10-29 Thread Daniel Kröger
Hi, I need to check two TextFields for equality within a WizardStep, so i added an EqualInputValidator to the Wizard's form inside the onBeforeRender() method of the WizardStep: protected void onBeforeRender() { super.onBeforeRender(); final Form form = ((Wizard) getModelObject()).getForm();