Specially, this call fails here:
> String s = getValue();
> try {
> applet.getAppletContext().showDocument(
> new
> URL("javascript:doAlert(\"" + id + "\",\"" + s + "\" )"));
> } catch (MalformedURLException e) {
> // TODO Auto-generated catch block
> e.printStackTrace();
> }
in which this script function is not called.
<script>
function doAlert( id, message ){
alert(message);
}
function setValue2(msg){
setValue2(msg);
}
</script>
How do I fix the URL? Or other methods can help?
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.