Re: Aw: Re: Aw: Place Parameters

2011-07-26 Thread Craig Greenhalgh
Hi this now works fine on the from list > view page and all is expected in the browser url How do I go about getting the bck and fwd buttons working, or manually altering the url to serve the correct page ? Currently in my Activity Mapper I set the "id" for the activity based on the incoming

Aw: Re: Aw: Place Parameters

2011-07-15 Thread Jens
In your ActivityMapper's getActivity(Place place) method you have to set the Place into your activity before returning it. I also use GIN so I have ActivityProviders in my ActivityMapper. All my activities extend a custom super class that provides a setPlace(Place place) method and a typically

Re: Aw: Place Parameters

2011-07-15 Thread Craig Greenhalgh
I've got the link working and add parameters to my place. I use gin so I have placeProviders: TypeViewPlace viewPlace = typeViewPlaceProvider.get(); viewPlace.setId(type.getId()); placeController.goTo(viewPlace); How in my ViewActivity to I get these parameters back in then load t

Aw: Place Parameters

2011-07-15 Thread Jens
In your ListActivity just call placeController.goTo(new DetailPlace()) when an item is selected in the list. The ListActivity define the parameter values and the DetailActivity uses them. Is that what you mean? -- J. -- You received this message because you are subscribed to the Google Groups

Place Parameters

2011-07-15 Thread Craig Greenhalgh
Hi, Whats the best way to pass parameters from one place/activity to another place/activity ? I have a simple list place and would like to link into a view place Many thanks Craig -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To po