Instead of changing the equality behavior of your place, you should instead 
put your "list activity mapper" behind a FilteredActivityMapper and 
CachingActivityMapper: the FilteredActivityMapper will convert an 
EmployeePlace(empyer, employee) into, say, an EmployeePlace(employer, null), 
and the CachingActivityMapper will then return the same activity instance as 
previously (because the places are now comparable).

FYI, this is the approach used by the Expenses sample.

-- 
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/-/OSRsJg8KBZUJ.
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