开发者

GWT refresh cyle in development mode

I am getting a serious problem with gwt. When I am first launching开发者_StackOverflow the server, I am viewing the page but later when refreshing the browser, I am getting a blank page. When I do view source, I see all the required tags such nocache.js and history frame but i get a blank screen


According to me, When you refresh the page, you are not on the home page. So you replace panels on onmodulLoad on the home page, but in other pages main panels is not generated and replaced in browser.

To check my theory. Please insert a System.out.println("isLoading"); start point of onModuleLoad. Be sure In initial case "isLoading" written to console. After try to refresh page. It it isn't written you must load your homepage whenever refreshed browser.

I hope, my solution is clear.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜