I agree with Ed, but don't know that I fully understand the use case... I'm doing a similar thing without iframes or runAsync.
Essentially, I created a PresenterMap that extends HashMap<String, Presenter> where Presenter is an interface that has an "presentIn (HasWidgets)" method. This method does the necessary work to load the UI into the given panel (of course, I separate UI-specific concerns into "view" classes). What this allows me to do is generate a navigation pane that has no knowledge of the underlying pages and can be configured for whatever navigation needs a given user/admin has. I know I'm kind of leaving things unclear, but I don't want to go into too much detail without understanding your needs. On Aug 11, 3:22 am, Ed <[email protected]> wrote: > Hi All, > > Why not use the Async functionality in 2.0? (to lazy load/run the code > for the other apps). > See:http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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 -~----------~----~----~----~------~----~------~--~---
