Sat, 25 Feb 12
I recently did a fair bit of this, calling GWT code from jquery. Two things jumped out:
- Make sure your jquery method is run in
- I couldn’t find a list of valid java type signatures (even in the JVM book) for the longest time, but here they are, at long last.
Update, 2/26: I ran into some issues with using $window.load(). What you have to do instead is create a gwtonload function and call it from your gwt loader via jsni. This ensures that GWT code is fully loaded, which $window.onload() does not.