AIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: DateTimePicker in time format not working with today
Date: Mon, 23 Apr 2007 12:05:24 -0400
I think this question was posted the other day. You can set
startDate="dateInThe
quot;'Struts Users Mailing List'"
Subject: RE: DateTimePicker in time format not working with today
Date: Mon, 23 Apr 2007 12:13:31 -0400
Sorry about the last post, I guess I didn't read closely enough. The
solution provided, although it works very well, will most likely not
add
Sorry about the last post, I guess I didn't read closely enough. The solution
provided, although it works very well, will most likely not address your
DateTimePicker issue. Again, my apologies for the list clutter.
-Rod
-Original Message-
From: ××œ×—× ×Ÿ מעין [mailto:[EMAIL PROTECT
Hello,
A cool little trick on the "today" issue is to use a little known aspect of the
tag. The useBean exposes its creation datetime as a scoped
variable!
Beacause of this you can do the following:
Now you can use ${today} anywhere you like. Personally, I use the
tag to format into what
I think this question was posted the other day. You can set
startDate="dateInThePast" and have a getInThePast() methodin your action
(which needs to return an string, in 2.1 it will take a Date object also).
As for the time picker, the dojo datepicker widget, in version 0.4.1 was so
broken that
5 matches
Mail list logo