I have a ActionForm which contains 3 attributes like:-
Phone, Email, Credit Card
Validation.xml contains validation for above attributes. My Page behaves kind of pagination,
In 1st Page it has only Phone In 2nd Page it has Email and Credit Card
While i validate for 1st Page; the other two validation also comes into the first page as those validation are done in Validation.xml. I dont know how to neglect the other two validation at run time for the first Page. Please help me.
<html:hidden property="page" value="1"/>
I will admit that I do not use this technique. I think it requires you to use session scope for your forms because when validation runs for page 2 it expects the values from page 1 to be populated. I have normally not used the validator framework for wizard pages and just implemented the validate method myself.