aspose file tools*
The moose likes Struts and the fly likes Struts Validator Framework:1 action class, 1 form, different fields validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validator Framework:1 action class, 1 form, different fields validation" Watch "Struts Validator Framework:1 action class, 1 form, different fields validation" New topic
Author

Struts Validator Framework:1 action class, 1 form, different fields validation

Bruce Lee
Greenhorn

Joined: Mar 23, 2006
Posts: 6
Using Struts Validator Framework, how can I suppose to do this?

My case is Page 1 required validation on one field followed by Page 2, which validates some other fields, all the fields from the same form bean.

If I were to use DynaFormValidator, which form should I use as my second logical form bean does not get the values from the first logical form bean.

I also cannot use DynaActionValidator as I'm using one action class.

Correct me if I'm wrong. Pls advise, thx.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts Validator Framework:1 action class, 1 form, different fields validation
 
Similar Threads
Struts validator framework-validwhen
Validating some extra fields of action form not in my jsp?
Help regarding struts validator framework (version 1.2.7)
Validation framework is not working
ValidatorActionForm Question?