File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validator framework

 
Raj chiru
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...
Anybody please explain to what is difference between validator-rules.xml and validation.xml
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked in the file(s) to see what they define? And checked the configuration examples?

I mean, the obvious answer is very simple, so I'm assuming you're looking for something beyond that?
 
Duc Vo
Ranch Hand
Posts: 254
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
raj chiru wrote:Hi...
Anybody please explain to what is difference between validator-rules.xml and validation.xml

validator-rules.xml -> defines what rules are available for validation.
validation.xml -> defines forms to be validated, fields to be validated with rules specified in the validator-rules.xml file.

These files are by convention. If you put the contents in one file, it should still work.
 
Raj chiru
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Have you looked in the file(s) to see what they define? And checked the configuration examples?

I mean, the obvious answer is very simple, so I'm assuming you're looking for something beyond that?




Yes, i want to know something beyond that
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And beyond what the other response said?!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic