A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
field validator Vs Non-field validator
Joined: Sep 24, 2009
Dec 13, 2010 06:50:28
Field validators are much convinient and allow us to group multiple validators to be applied to same field in one <field> element. Then what are the situations where non-field validators come in handy over field validators?
I am slow but sure
Joined: Aug 03, 2008
Dec 13, 2010 08:16:16
Non-field validators can be used for validations across fields, like if you want to check if the password and confirm password are not the same...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
I agree. Here's the link:
subject: field validator Vs Non-field validator
Conditional validation in Struts2
short-circuit attribute not working in validation file
form validation in struts2
struts2 xml validator error message placement?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015