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.
精彩评论