I have to show the datepicker inside a modal window. The modal window is hidden by default unless someone clicks on the link which makes the modal window visible. Because of the initial invisibility the javascript file doesnt load and that in turn makes the datepicker functionality to not work. There is some code written inside the javascript file that adds few html divs in the parent html structure for datepicker icon etc. The only solution i can think of is to refresh the page after the modal window becomes visible (which i feel is not the correct thing to do, but it works, after the refresh the datepicker javascript gets loaded and the functionality works as expected).
Is there a work around for achieving something like this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Change-state-of-component-after-page-rendering-tp4670900p4670913.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