Groups
Groups
Sign in
Groups
Groups
GWT Users
Conversations
About
Send feedback
Help
JSNI Question
26 views
Skip to first unread message
EMan
unread,
Dec 19, 2012, 7:10:00 PM
12/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
How do I call a JSNI method from another JSNI Method? for example, how can I get something1 to call something2?
public static native void something1() /*-{
something2();
}-*/;
public static native void something2() /*-{
$wind.alert("something2");
}-*/;
Thanks.
Thomas Broyer
unread,
Dec 20, 2012, 4:59:33 AM
12/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Like any other Java method:
public static native void something1() /*-{
@my.app.client.MyClass::something2()();
}-*/;
Reply all
Reply to author
Forward
0 new messages