So, should I put code in FooActivity? I am not sure if the boilerplate code generated by the activity should have done that or not.
On Oct 6, 10:44 am, Alisson Prestes <[email protected]> wrote: > The FooActivity extracts the arguments from the FooPlace. Then it calls the > right method in the FooView. Place and View do not interact with each other > directly. > > Alisson Presteswww.google.com/profiles/javalisson > > > > > > > > On Thu, Oct 6, 2011 at 2:17 PM, Mike Dee <[email protected]> wrote: > > I'm using Activities and Place and can't figure this out. I've been > > looking at samples but don't see it in there. I think I'm missing > > something. > > > I have a button in one place that, when clicked, will trigger a new > > activity and place (along with a new view). The code for that button > > simply looks like this: > > > listener.goTo( new FooPlace( fooid ) ); > > > The above code is in the button handler of BarViewImpl (view > > implementation for a separate place/activity). > > > This above line works in that it goes to FooPlace and the URL shows > > the parameter (123456): > > > MyApp.html?gwt.codesvr=127.0.0.1:9997#FooPlace:123456 > > > But fooid doesn't make it to FooView. How does the FooPlace or > > FooActivity pass the fooid to FooView? > > > -- > > 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. -- 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.
