Hello everybody,

I am trying to use WebClient 2.0.a9 (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 think that
I have to implement the 'Prompt' interface to use the Javascript
method 'alert()' to display dialogs. The problem is that when I call
the 'setPromp()' method on my Navigation object I have an error. This
error comes from the fact that you uncommented out the
nativeSetPrompt() method in NavigationImpl.cpp.
Is there a reason? How am I supposed to do with the Javascript method
'alert()'?

Thanks for your help

Julien

_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to