This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes how to validate map-backed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to validate map-backed?" Watch "how to validate map-backed?" New topic
Author

how to validate map-backed?

Turi u pazzu
Greenhorn

Joined: Jan 09, 2004
Posts: 3
I all,
how can I to validate (Validator Framework) map-backed in ValidatorForm?
Thanks
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I assume you mean you are using the validation framework. Refer to the fields exactly as they appear in the property attributes from the html: tags in the jsp.

Example: "value(ABC)"


A good workman is known by his tools.
Turi u pazzu
Greenhorn

Joined: Jan 09, 2004
Posts: 3
Yes, I am using the validation framework, but how can I know the exact field's names and how many fields there are in the jsp? the form is dynamically built ...while the XMLs are static?

Sorry for my english
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to validate map-backed?
 
Similar Threads
DynaActionForm Mapping
Question for Mr.Neal Ford
Mapping UML Class Diagram to EJB
html:optionsCollection and Map backed ActionForms
input of text in the hashmap in struts