Re: Validation for second field must greater than the first field

2006-05-26 Thread Niall Pemberton
e a good place. Considering it gives you access to a bunch of objects for free like the form bean, fields, the request object, errors object etc. You could probably do it in a separate class cueing off of the data from the form bean, but I think it would be much harder. > > > > >

Re: Validation for second field must greater than the first field

2006-05-26 Thread The Jasper
ver 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. > > -Original Message- > From: C

Re: Validation for second field must greater than the first field

2006-05-26 Thread The Jasper
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 if Stru

RE: Validation for second field must greater than the first field

2006-05-25 Thread Chaudhary, Harsh
: 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. If not

RE: Validation for second field must greater than the first field

2006-05-25 Thread Carl Smith
dar. Harsh. Man I got a lot of free time today. -Original Message- From: Carl Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 2:20 PM To: Struts Users Mailing List Subject: Validation for second field must greater than the first field I am not sure if this is workable, but

RE: Validation for second field must greater than the first field

2006-05-25 Thread Chaudhary, Harsh
t of free time today. -Original Message- From: Carl Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 2:20 PM To: Struts Users Mailing List Subject: Validation for second field must greater than the first field I am not sure if this is workable, but my requirement was that Two F

Validation for second field must greater than the first field

2006-05-25 Thread Carl Smith
I am not sure if this is workable, but my requirement was that Two Fields, startDate and endDate, I need to validate the endDate is greater/older than the startDate. Is this something workable/configurable using struts validator? Thanks.