Jens, Allison, Yes, I see my problem. I even used the GWT MVP View wizard to create the Place, Activity, and View. It very nicely generates template classes - with the FooPlace.setName(). I must have deleted the method in FooPlace at some point.
Thanks, Mike On Oct 6, 1:38 pm, Jens <[email protected]> wrote: > Your FooPlace should have a getter method to return the stored id. In your > ActivityMapper you create an activity for a given place. When you create > your activity you can pass the place into its constructor or via a separate > setPlace(Place place) method. Your activity would then call the getter of > the FooPlace to get the id stored in the place and store it in a variable. > > Take a look > athttp://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideMvpAc... > The AppActivityMapper constructs a HelloActivity and passes in the given > HelloPlace. Then the HelloActivity calls HelloPlace.getName() in its > constructor and stores the value. In HelloActivity.start() you can then use > the value to make database calls, configure your view or whatever you need > to do. -- 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.
