wood burning stoves*
The moose likes Struts and the fly likes Validator +Iterated fields. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator +Iterated fields." Watch "Validator +Iterated fields." New topic
Author

Validator +Iterated fields.

A knibbs
Ranch Hand

Joined: Aug 23, 2006
Posts: 158
Hi all I have some fields that are being generated by using the logic:Iterate tag, and I am now faced with the problem of validation those fields. I am using the validation.xml, but am unsure of how I would go about validating all of the fields seeing as how I am unaware of how many of the fields there will be. I am guessing it has to do with either using the validwhen or perhaps some included javascript, but was hoping that someone might be able to suggest a location to start reading (hopefully with examples as I learn more with concrete examples over theoretical).

Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Validator +Iterated fields.