Wednesday, November 2, 2011

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



On Wednesday, November 2, 2011 1:46:53 PM UTC+1, tanteanni wrote:
Thank YOU Thomas,

i guess now i got it

Thank God!
 
- i don't have to "schedule" the data-loading but all the other stuff that need to be properly "initialized", right?

Yes. Where did you read about deferring data-loading?
1st message: "defer continueStart() a bit more so it executes outside the event handling logic, within a Scheduler.scheduleFinally() for instance"
2nd message: "You need to defer the handleCurrentHistory() call outside the event dispatching; but you can actually defer the whole continueStart if you prefer"
3rd message: "Delay it (either just handleCurrentHistory() or the whole continueStart()) with Scheduler#scheduleFinally"
4th message: "then launch continueStart, but slightly deferred"

--
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/-/bq1CLZ0vuEYJ.
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