Hi,

On the that component you can add override renderHead and add an
OnDomReadyHeaderItem contribution.. If component is not visible then
JavaScript will not be included. No need fro a different/extra div.

On Tue, May 26, 2015 at 10:20 AM, avchavan <[email protected]>
wrote:

> Ernesto, I have a javascript file which is not loaded if the component is
> not
> visible.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Change-state-of-component-after-page-rendering-tp4670900p4670904.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]
>
>


-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to