Hi,

I've the following Class:

public class Designer {
 private final native JavaScriptObject addNode() /*-{
   alert("Pre JSNI call");
 
[email protected]::sendNode(Ljava/
lang/String;Ljava/lang/Integer;Ljava/lang/Integer;)("TEST", 100, 100);
   alert("Post JSNI call");
}

void sendNode(String id, String x, String y) {
   GWT.log("sendNode() called");
}

}

When addNode  is called, "Pre JSNI Call"-Alert is shown. After the
click on "OK", an JS-Error is thrown:

Details zum Fehler auf der Webseite

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0)
Zeitstempel: Mon, 31 May 2010 20:52:56 UTC


Meldung: Annahme ausgelöst und nicht aufgefangen.
Zeile: 36
Zeichen: 7
Code: 0
URI: http://localhost:8080/desk/desk/hosted.html?desk

Any ideas what I'm doing wrong?
Thanks!

-- 
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.

Reply via email to