This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com