IntelliJ Java IDE
The moose likes Other Open Source Projects and the fly likes jakarta commons validator Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "jakarta commons validator" Watch "jakarta commons validator" New topic
Author

jakarta commons validator

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
I'm using commons validator with JSF. Things were going smooth until I need a different kind of clientside/javascript validator. That is I need to validate required on a field when the value in some other particular field is supplied otherwise I dont want to validate.

Do we have this kinda validator in commons project or I need to fabricate my own way to go?

Thanks in advance.
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
I never seen this kind of validator. I think it will be hard write such thing general.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Thanks folks. I have designed one of my own using commons validator. I'm saying it peeredRequired.
 
 
subject: jakarta commons validator
 
Threads others viewed
DWR vs Spring MVC Validator
how do you write a validator that validates a field based on another field?
Singleton or static
Struts2 Validation - skip validation for certain fields
question about validating multiple fields
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com