Re: WebClient and Javascript
Greg Bowyer <[email protected]> Tue, 03 Jul 2007 16:21:30 +0100
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <468A697A.8070504__12866.2139446989$1183476322$gmane$org@fastmail.co.uk> |
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