I still think you need to tell the JS widget that the text field is visible.
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, May 25, 2015 at 2:16 PM, avchavan <avinash.cha...@yahoo.co.in> wrote: > The entire code written in javascript and it works. > If i just keep the HTML pages then it loads the datepicker at startup but > in > my case the datpicker.js is not being picked up when the modal window > opens...if i refresh the page then it gets loaded and everything works fine > after that. > So, is there a way to ensure that the javascript file gets loaded when the > modal window opens? > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Loading-Javascript-for-wicket-component-tp4670871p4670879.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >