Aw: Re: Aw: Re: Aw: Re: Question about new activities on place changes

2011-06-17 Thread Jens
Ok a Custom CachingActivityMapper was easy to implement and works but there is still a case I am not happy with. If a user bookmarks EmployeePlace(1,123) and 123 gets deleted the activity would redirect to EmployeePlace(1, null) to keep the URL in sync (activity can not preselect the deleted

Re: Aw: Re: Aw: Re: Aw: Re: Question about new activities on place changes

2011-06-17 Thread Thomas Broyer
Because you activity lasts longer than a place, it should listen to PlaceChangeEvent (as if it were a singleton, except that it can be garbage collected and will be recreated if you go to another activity in the mean time), or the ActivityMapper should update it with the new place. But

Aw: Re: Aw: Re: Aw: Re: Question about new activities on place changes

2011-06-16 Thread Jens
Yeah its a migration to activities and for simplicity I have only defined a single display area. Thats somehow the work area of the app. The reason is that I have a custom widget (layout panel) that can do quite a lot of things. So for each place I have that custom widget that effectively