struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naveen Kumar M <>
Subject Re: dojo script for DATEPICKER tag
Date Fri, 01 Feb 2008 03:52:39 GMT
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
wnated to change the startDate value dynamically. 

i hope i have posted my question cleraly.......!

Thanks & Regards,

ravi_eze <> wrote: 

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.


Naveen Kumar M wrote:
> 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 the startDate should be that day's system date(server date)
> I hope i have posted my question more clearly.
> Expecting some response on the issue.
> Regards,
> Minchu
> Wes Wannemacher  wrote: Have you tried the startDate and
> endDate parameters for the tag and
> received an error?
> -Wes
> On Thu, 2008-01-31 at 05:24 +0000, Naveen Kumar M wrote:
>> Hi,
>> We have a reqierment to control startdate and enddate of the datepicker
>> dynamically, so i have tried out for controlling  it by a dojo script,
>> which is breaking up the appearance of datepicker. So can any one suggest
>> how to control it dyanimcally.
>> thanks in advance 
>> regards,
>> minchu
>> ---------------------------------
>>  Unlimited freedom, unlimited storage. Get it now
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> ---------------------------------
>  5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

 Get the freedom to save as many mails as you wish. Click here to know how.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message