Subject: RE: Validation for second field must greater than the first field
Harsh, Thanks for the quick response.
I was seeking if Struts has the internal validator do this things. If not,
then I agree with you in that I need to write my own custom validator easily.
But I prefer if Struts
be much harder.
Harsh.
-Original Message-
From: Carl Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 2:31 PM
To: Struts Users Mailing List
Subject: RE: Validation for second field must greater than the first field
Harsh, Thanks for the quick response.
I was seeking
cueing off of the data from the form bean, but I think it would be much harder.
Harsh.
-Original Message-
From: Carl Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 2:31 PM
To: Struts Users Mailing List
Subject: RE: Validation for second field must greater than
The solution is to write a custom validator if you want to do it server side
using validator. In your custom validator, create 2 calendars, one each for
start date and end date. Then use the method call before or after on these
calendar.
Harsh. Man I got a lot of free time today.
Harsh, Thanks for the quick response.
I was seeking if Struts has the internal validator do this things. If not,
then I agree with you in that I need to write my own custom validator easily.
But I prefer if Struts already has this sort of comparison validator.
Chaudhary, Harsh [EMAIL
: Carl Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 2:31 PM
To: Struts Users Mailing List
Subject: RE: Validation for second field must greater than the first field
Harsh, Thanks for the quick response.
I was seeking if Struts has the internal validator do this things
6 matches
Mail list logo