When you say "my javascript is not loaded", do you mean it's not added to
the page or it's added but doesn't work?
On 14 Jul 2011 12:21, "Benedikt Rothe" <[email protected]> wrote:
> I have a problem with IHeaderContributor and invisible Components:
>
> A Panel "MyPanel" implements IHeaderContributor.
> The renderHead-Methods adds some JavaScript-References.
>
> When the page is rendered this panel is invisible.
> So these JavaScript-References are not loaded when the page is loaded.
>
> Later visibility is switched within an Ajax-Call and the MyPanel will be
> rendered.
> But than my JavaScript is not loaded.
>
> Strange: During the Ajax-Call the renderHead-Method of MyPanel is even
> called, but
> the call doesn't provoke anything concerning the output to the browser.
>
> Any suggestions?
> Benedikt
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>