On Wednesday, November 14, 2012 10:38:50 PM UTC+1, Robert Hoffmann wrote:
>
> Hi,
>
> I am currently using:
> - PlaceHistoryMapper historyMapper =
> GWT.create(AppPlaceHistoryMapper.class);
> - @WithTokenizers({FrontPlace.Tokenizer.class, ...}) on PlaceHistoryMapper
>
> I'd like to use now hash bang tokens for places to support bot crawling.
>
> What is the best way (minimal change) to do this?
>
Ideally, I'd change the @Prefix annotations to include the "!"; but you can
also extend DefaultHistorian, or use your approach, which is fine too (in
getPlace, instead of unconditionally trying a substring(1), I'd rather
check with a startsWith("!")).
But that's the easiest part of the #! story…
--
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/-/gc6wQgbct5oJ.
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.