Hi,

Wicket just wraps the JS component. I.e. you can set your settings in
Java and Wicket will serialize them to JSON which YUI Calendar will
use to configure itself.
But if you can set the needed property in pure JavaScript then it will
be faster because there wont be an Ajax roundtrip to the server.
See http://developer.yahoo.com/yui/calendar/ and search for 'mindate' setting

On Fri, May 11, 2012 at 3:34 PM, vp143 <[email protected]> wrote:
> Thanks for your answer.
> I was hoping that there might something in Wicket.
>
> I did look at the YUI docs but so far cant find exactly what I need to do.
> It seems like I need to add a listener which calls a JS method which I think
> I have understood but cant work out what is required to change the minimum
> date.
>
> Regards
> Vishal
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Two-YUI-DatePickers-use-first-date-as-basis-for-second-date-tp4623018p4626281.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to