if you look at Place.gwt.xml you'll see that
<generate-with
class="com.google.gwt.place.rebind.PlaceHistoryMapperGenerator">
<when-type-assignable
class="com.google.gwt.place.shared.PlaceHistoryMapper"/>
</generate-with>
so the class you need to override is PlaceHistoryMapperGenerator
Looking in PlaceHistoryMapperGenerator you'll see imports for
import com.google.gwt.place.impl.AbstractPlaceHistoryMapper;
import com.google.gwt.place.impl.AbstractPlaceHistoryMapper.PrefixAndToken;
If you did a copy/paste of the code and imported your class extending APHM
and the PrefixAndToken(possibly) and then in your gwt.xml file did
<generate-with class="com.my.generator.CopiedPlaceHistoryMapperGenerator">
<when-type-assignable
class="com.google.gwt.place.shared.PlaceHistoryMapper"/>
</generate-with>
you should get the result you desire.
--
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/-/inSP2AbauBoJ.
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.