Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to validate map-backed?

 
Turi u pazzu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I all,
how can I to validate (Validator Framework) map-backed in ValidatorForm?
Thanks
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)"
 
Turi u pazzu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic