Hi,
have you tried what I send yesterday on the list :
replace :
#if($event.getStartDate().getTime().after($xwiki.getDate()))
by:
#if ($event.XWikiObject.startDate.value.after($xwiki.getCurrentDate()))
You can't do it on the
xwiki.com farm, but you can do it on your own
installation.
Jérémi
On 3/23/06, Gaël Blondelle - EBM WebSourcing
<gael.blondelle(a)ebmwebsourcing.com> wrote:
Hi all,
I try to print future events in the left menus, but it looks that the test
of the event start date is always evaluated to false.
#foreach($event in
$xwiki.getDocument("Main.EventCalendar").getObjects("XWiki.CalendarEvent"))
#if
($event.getStartDate().getTime().after($xwiki.getDate()))
$event.startDate $event.endDate $event.description
#end
#end
Any idea or suggestion?
Regards,
Gaël Blondelle
EBM WebSourcing
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Blog:
http://www.jeremi.info
LinkedIn:
https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki:
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com