Hi,
I would like to invoke a javascript function from an applet.
In a non-GWT situation, I can call a javascript function directory
using a getAppletContext methods.
String s = getValue();
try {
applet.getAppletContext().showDocument(
new URL("javascript:doAlert(\""
+ id + "\",\"" + s + "\" )"));
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
where the HTML hosts the applet has a javascript function,
doAlert( msg ).
In a GWT situation, I can use the HTML panel to host the applet.
However, what would be the name of corresponding javascript function?
Any idea?
Stanley
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.