I\'ve got a gwt application and I want to scroll to the top of a page using this method: public static开发者_开发技巧 native void scrollTop() /*-{
I have a class which uses JSNI to retrieve JSON data stored in the host page: protected native JsArray<JsonModel> getModels() /*-{
Really simple questi开发者_Go百科on: From within GWT I want to forward the user away from my GWT page to a certain URL. What is the best way to do this?You could create a native method:
The following gwt jsni method code only \"works\" when I have firebug open, I presume because its slowing down the page rendering long enough for the external js files to finish loading.