• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xml validator for collection of strings

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello fellow programmers,

Just a very quick question for you. I'm populating a list of strings with a form submit, and would like to keep all my validation rules in xml format. Is there a standard way to validate my list of strings? I want to check each of their char length.

I would have thought this would be a common thing to do, but haven't found how to do it yet. I guess my other options would be to validate programmatically in the Action, which I don't want to do, or to write a custom validator, but would like to find out if there is a way to do what I want out of the box before I do this.

Thanks in advance for your help.


Chris
 
reply
    Bookmark Topic Watch Topic
  • New Topic