On Tuesday, July 31, 2007, 7:30:34 AM, Carlos <[EMAIL PROTECTED]> wrote:

> I have a component that contributes some javascript to the header. Initially
> the component won't be shown but an ajax event could make it visible. The
> problem is that the javascript is contributed later, during the ajax
> response, and there is a security concern with firefox: "permission denied
> to call method XMLHttpRequest.open". This is because I'm trying to include
> an external script (simply <script src="http://....";>) that would normally
> be included with no complaints when the page is initially loaded. I don't
> know how to override this default behavior. I guess the code that controls
> this head rendering logic for visible/hidden components is that of
> HtmlHeaderContainer. Any ideas?

Would it work if you were to split your component into two
sub-components with the UI part being initially invisible, but the JS
not being so, and thus contributing?

/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to