Your MechanicalPlace should have a constructor like public Mechanical(Long 
studentId, Long studentName) along with the corresponding getters. In your 
PlaceTokenizer.getToken() for MechanicalPlace you build the string like 
"studentId=" 
+ place.getStudentId() + "&studentName=" + place.getStudentName(); and in 
PlaceTokenizer.getPlace() you have to parse the provided token into its 
components and reconstruct the MechanicalPlace using the constructor above.

Then in your ActivityMapper you pass in the place to your activity so it can 
use the getters to get the stored information and fetch the data from 
database in its start() method.

-- 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/-/x4EsU-FOU7IJ.
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