I have a place that change dynamically but these changes are not reflected
in the URL.
In the activity, a place with information is launched, but the mapper
(CachingActivityMapper) needs to put other information, then I tried this
code in the Mapper:
this.eventBus.addHandler( PlaceChangeEvent.TYPE, new
PlaceChangeEvent.Handler() {
@Override
public void onPlaceChange( PlaceChangeEvent event ) {
Place newPlace = event.getNewPlace();
if ( newPlace instanceof PlaceTrace ) {
((PlaceTrace)newPlace).setPosition(
CachingCenterActivityMapper.getKeyPosition() );
}
}
} );
but the handler is called after writing the URL.
Any suggestions?
--
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/-/2nJFN_3V4BIJ.
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.