On Apr 16, 7:20 pm, Nabor Gilgald <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using the xulrunner 1.8.1.3 within an Java Application.
> The Java library for xulrunner is quit big, but without an API or some
> good examples not very useful.
> I can walk through the DOM. That works fine after understanding it :).
> Is there a way to invokeJavaScriptfunctions from the current
> nsIDOMWindow, nsIDOMDocument or other XPCOM Objects?
> I can invokeJavaScriptfrom my Java Instance of the Mozilla Browser but
> that is not very useful, because every time I've to care about frameset
> or iframe structures. It would be much better to invoke aJavaScriptin
> the right context (frame)...
>
> Regards
> Martin

Maybe you can send out a custom event from your XPCOM to the window.
And at the same time,  add an eventlistener to  the custom event to
the window.

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to