at the moment the "whole continueStart" is deferred at the end of this 
"continueStart"  handleCurrentHistory() is called, after instantiating 
activity mappers and managers. Before that (on construction time of 
AppManager)  EventBus and PlaceController are instantiated.
you could look in the code i attached in 2nd post. which lines of code 
should be moved where?

(i still don't understand why it works with out the delay but fails with 
delay)

in my real code i tried also to delay the start with a Timer - no matter 
how long the start is deferred it works fine. but as soon as continueStart 
is run after onModuleLoad() - eventBased delay it fails. in meantime 
deferred it "synchronously" by implementing start() like this:
        new SchedulerImpl().scheduleDeferred(new ScheduledCommand() {

            @Override
            public void execute() {
                while (!(ttReady && auReady)) {
                    System.out.println("waiting");
                }
                continueStart();

            }
        });

This is working fine. The time of delaying is the same as before: as soon 
as tt and are become ready. but for interest i want to know/understand what 
is happening here.


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

Reply via email to