Re: WebClient and Javascript

Greg Bowyer <[email protected]>
Newsgroups gmane.comp.mozilla.devel.oji
Message-ID <[email protected]>
The blackwood stuff is pretty old, and as far as I know not supported 
anymore.

Whats the problem you are experiancing with alert / confirm, simply not 
working, or something more critical. You will probably need to implement 
nsIPromptService and a factory for it to handle alert / confirm yourself.

Julien1311 wrote:
> Hello everybody,
> 
> I am trying to use WebClient (
> http://www.mozilla.org/projects/blackwood/webclient/
> http://www.mozilla.org/projects/blackwood/webclient/ ) to embed a browser
> into a Java application.
> I managed to create the frame with the browser and to display a HTML page.
> However, I have some problems with a HTML page with Javascript. All my
> Javascript scripts work except those which are supposed to open a dialog box
> (with the methods 'alert()' or 'confirm()'). I don't know where this problem
> comes from.
> I really need your help, it's been a week that I'm trying to make this work
> with no success.
> 
> Thanks for your help
> 
> Julien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.