Calling GWT Java function from JavaScript
问题 I am a newcomer to GWT and JavaScript. There are similar question of this type I have tried to follow, but I keep failing. I have a GWT app, I need to call a Java function from Javascript( on the onclick of a href tag, in particular.) Following is what I have done. public class JSNITest { public static void handleAnchorClick(int a , int b) { Window.alert("Current row and Column is " + a + " " + b); } public static native void exportMyFunction()/*-{ $wnd.handleAnchorClick = function(param1