You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by chamal desilva <ch...@yahoo.com> on 2006/12/06 09:59:41 UTC
Comparing 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
<logic:equals name="FormBeanName" property="addedDate"
value="What should I put here">
Thanking You,
Chamal.
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Comparing dates
Posted by mano dasanayake <ma...@mubasher.net>.
Hi Chamal,
Try
<logic:equals name="FormBeanName" property="addedDate"
value="<%=thedate %>">
where "thedate" is a date Obj...
Best regards,
Mano
-----Original Message-----
From: chamal desilva [mailto:chamalsl@yahoo.com]
Sent: Wednesday, December 06, 2006 3:00 PM
To: user@struts.apache.org
Subject: Comparing 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
<logic:equals name="FormBeanName" property="addedDate"
value="What should I put here">
Thanking You,
Chamal.
____________________________________________________________________________
________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org