On Wednesday, April 25, 2012 8:07:00 AM UTC+2, tanteanni wrote: > > for example a showUserPlace and a EditUserPlace. Or in general there are > often more than one usecase per "model". And if i want a distinct url per > use case i need different places. This cases could probably solved by let > one "userActivity" manage two presenters (edit and show user). But then i > have the same issue- how to "inject" the synchronized model from activity > in presenter. > But at the moment the problem is not that two activities. Now i have a > very complicated logic on the model so i decided to put this logic out of > activity/presenter (ui handling logic). here is the same problem how to let > the activity interact with a model. (i linked the concrete problem above - > for short: if used events i have the problem to register for an event and > trigger an event(asking the model) all in start method seem to fail) >
For the "data" thing, I think you simply need a "DAO" on the client-side doing some caching. As for the events, call your getData() in a ScheduledCommand (use either scheduleFinally or scheduleDeferred). -- 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/-/hPRRNRi5arUJ. 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.
