RE: Comparing dates

2006-12-06 Thread mano dasanayake
Hi Chamal, Try where "thedate" is a date Obj... Best regards, Mano -Original Message- From: chamal desilva [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06, 2006 3:00 PM To: user@struts.apache.org Subject: Comparing dates Hi, Is it possible to compare dates

Comparing dates

2006-12-06 Thread chamal desilva
Hi, Is it possible to compare dates with logic equals tag. My form bean has a property called addedDate. I need to compare it with date 2006-12-24 how should I write the equals tag Thanking You, Chamal. ___

Re: Complex validation - comparing dates

2005-01-26 Thread Kishore Senji
On Wed, 26 Jan 2005 20:37:08 -0800 (PST), Norris Shelton <[EMAIL PROTECTED]> wrote: > I'm trying to ensure that the start date is less than the end > date. > > > > >test >((endDate > startDate) or (*this* > == null

Re: Complex validation - comparing dates

2005-01-26 Thread Erik Weber
As far as I know you need to implement your own pluggable validator (not difficult) -- unless Struts has a new feature that automates this (I don't know of one but I'm not using the latest version). Erik Norris Shelton wrote: I'm trying to ensure that the start date is less than the end date.

Complex validation - comparing dates

2005-01-26 Thread Norris Shelton
I'm trying to ensure that the start date is less than the end date. test ((endDate > startDate) or (*this* == null)) I already have validations to ensure that they are valid dates