the scenario is as follows (i use gin):
- onModuleLoad instantiates a ApplicationManager and runs start() on it.
- ApplicationManager sets up all activitymanagers and the layout, gives 
every manager some display area, sets up history handler and "start 
history" (historyHandler.handleCurrentHistory();)

all is running fine but i want the application manager to defer the loading 
until an event (data-loaded-event). so i make the manager listen to it and 
all the setup-stuff is done in a new method "continueStart()"; called on 
this event. the former start() (called in onModuleLoad) just displays a 
loading widget.
but now no activity is started. i debugged into the code. it seems that 
with this "deferred loading" the ActivityManagers don't hear the 
PlaceChangeEvent fired by "historyHandler.handleCurrentHistory();" (The 
Eventbus emitting this event is the same the ActivityManager registered on)

So what's going on here?

my only explanation at the moment is, that this could be related to the 
fact that all the application setup stuff happens after onModuleLoad has 
finished (it only calls start(), and in "background" applicationManager is 
waiting for an event and does the reals setup after "onModulLoad()")

so what to do - thx in advance

-- 
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/-/7mOwGd4TlfgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to