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 place request. When I use bck / fwd / manually alter this is always "null"

Any ideas?

Many thanks

Craig


On 15/07/11 16:14, Jens wrote:
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 code snippet in my ActivityMapper looks like:

if(place instanceof MyPlace) {
  MyActivity activity = this.myActivityProvider.get();
  activity.setPlace((MyPlace) place);
  return activity;
}

In the activity itself I just copy the place data into variables of the activity (so just this.parameter = place.getParamter()). As setPlace() is always called before the activitie's start method I have all information I need to actually start the activity.

-- J.
--
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/-/q1q_Pb_zM-0J.
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.

Reply via email to