Re: How to fail gracefully when the main GWT js file fails to load

2010-12-25 Thread Y2i
What about setting a JS timer and checking in the callback if the main app has been loaded? http://www.w3schools.com/js/js_timing.asp On Dec 25, 9:47 pm, Icky wrote: > hi there, > > I have an app where the main HTML file contains a loading div with a > "Loading, please wait..." message, and when

How to fail gracefully when the main GWT js file fails to load

2010-12-25 Thread Icky
hi there, I have an app where the main HTML file contains a loading div with a "Loading, please wait..." message, and when the GWT app loads, it will remove the loading div and start rendering the application. However i am running into a problem where if the GWT js file fails to be retrieved (ie.