Hi everyone, 
   I am working on a wicket wizard component, I am trying to add an
AbstractFormValidation to each wizardStep, so when the wizardStep is
added/replaced the wizard form will know how to custom validate that
particular wizardStep.

Since I am not able to find or access the wizard form directly inside the
wizardStep I am overriding the getForm() in Wizard.class and instantiating
the form in my class's constructor so that getForm() wouldn't be null. The
problem which comes by doing that is all the validators are added to the
form and now it validates all the wizardSteps every time the form is
submitted. 

Can someone help me??? Also, Please point me if my approach is wrong. 

Basically what I would like is when the form is submitted I want the
activeWizardSteps validation to be validated.

Thanks
Ashley
-- 
View this message in context: 
http://www.nabble.com/Wicket-Wizard-form-need-to-add-custom-validation-to-each-panel-tp15746917p15746917.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]

Reply via email to