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
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
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
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();