I'll explain.
I've got a class with a date attribute. This class is represented through a form to
the user, so he/she has to set this date. Now I want, on a separate page, to create an
overview of all objects of that class which fall in a given period. But not from the
current date to 1 month back. Rather from a set start date to a set end date. And yes I
want to do this with a Velocity script.
Hope that explains a bit more.
Joep Janssen
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Wednesday, June 07, 2006 8:22 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Date value compare (the sequal)
Hi,
I don't really understand what you want. Are you trying to do it in a
velocity script? Do you mean, in your class, adding a constraint to
refuse every object which have a date not in your period?
Can you send use more infomation?
Jérémi
On 6/7/06, jjanssen(a)nl.swets.com <jjanssen(a)nl.swets.com> wrote:
Hello,
I've asked a question before on this subject
(
http://www.objectweb.org/wws/arc/xwiki-users/2006-03/msg00131.html), but now a slightly
different one:
Dates in Xwiki are of type java.util.Calendar. This allows me to go back in time from the
current date/time a certain amount. But suppose I want all objects, of a class with a date
attribute, where the date attribute has a value from a start date to an end date. For
instance: all object where date between 01-05-2006 and 31-05-2006. Is this possible as
well? I haven't succeeded yet. So any help would be appreciated.
Thanks again,
Joep Janssen
--
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