Wednesday, November 2, 2011

Re: problems with loading stuff/bootstrapping onModuleLoad triggered by an event

the problem i have with the code you suggested is: how to implement "//wait"

Put the label into your RootPanel like in the original code. I was a bit lazy and didn't want to retype it.
 
as stated before my first implementation with an (infinite) while loop could block the whole browser.

As javascript is executed on a single thread you never want an infinite while loop. This will always block the browser. You just want to react to events.
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jvSPrZEFDkwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment