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
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.
___
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
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.
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
5 matches
Mail list logo