i made an (nearly)minimal example showing this problem. it is a simple
sandbox app where i made some experiments with RequestFactory and
Activities and Places (no DI, no Gin). The crux is now, that onModuleLoad
is starting an AppManager.start(). The AppManager shows only "wait" until
data is received and event is fired. I f event is received all the
activities/places machinery is started - but here is the problem: no
activity is started but PlaceChangeEvent is fired. But all later
PalceChangeEvents are handled correctly. So what to do to reproduce:
Start the app see "wait", wait see "received data" (the data sending
service waits 10seconds) - no activities started.
Change id in url from 1 to 2 or vice versa - activities are started
correctly.
or change start() in AppManager and run "continueStart()" directly:
public void start() {
// if (dataReady) {
continueStart();
// } else {
// appLayout.add(new Label("wait!"));
// }
}So why the activities are not started on first load? what happens 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/-/6nQT3aHZbt4J. 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.
Sandkasten.7z
Description: application/7z-compressed
