I tried all of the above with Struts 2.0.11.1 but none of them work.
SURELY there must be SOMEWAY to set the endDate attribute dynamically
from the taglib!?
Thanks,
James
On Thu, Jan 31, 2008 at 11:07 PM, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
> I haven't tried it, but I would think that some
I haven't tried it, but I would think that something like -
startDate="@[EMAIL PROTECTED]().getTime()"
might work. It should be a fairly trivial exercise to use OGNL to set
the parameters dynamically.
-Wes
On Fri, 2008-02-01 at 03:52 +, Naveen Kumar M wrote:
> Thanks ravichandrac,
>
> Y
Thanks ravichandrac,
Yes I know it will preset the date value to the date you set in action class,
but my question is basically to limit the Date selection from the date picker
created by datepicker tag, however which contains parametes called startDate
and endDate, so m,y requirment I just wna
hi,
if i am uderstanding u right then this should solve ur problem.
action class:
Date inpDate = new Date();
jsp page:
so for the fist time when the page is being displayed the inpDate is set ot
the current date which will solve ur problem
hope this helps.
cheers,
ravi
Naveen Kumar M wro
THANKS Wannemacher FOR YOUR REPLY.
My question is, I want to change the values being assigned the
startDate and endDate parameters for the tag. So for example
page using my datepicker is loaded in to browser today, than
startDate should be todays systems date, for the same in next
coming day th
Have you tried the startDate and endDate parameters for the tag and
received an error?
http://struts.apache.org/2.x/docs/datetimepicker.html
-Wes
On Thu, 2008-01-31 at 05:24 +, Naveen Kumar M wrote:
> Hi,
>
> We have a reqierment to control startdate and enddate of the datepicker
> dynamic
6 matches
Mail list logo