First, you could use the empty string instead of a "random token", and it would give you a /#ContactUsPlace: token.
There's also the possibility to either put a bunch of "places" into a single Place class, and using the "token" to disambiguate them (e.g. /#CommonPlace:ContactUs); or you could instead use different Place classes but a single PlaceTokenizer (better IMO) with the same results. ...and because an empty @Prefix is simply ignored when generating the token, you could have /#contactus that way. Finally, but you shouldn't need it for your use case, you can provide your own implementation of PlaceHistoryMapper instead of relying on the generator (you'd lose all the magic related to @WithTokenizers and @Prefix though and have to do it all by yourself). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
