Friday, July 1, 2011

Re : When using HistoryTokens with Activities and Places can you remove the (:) colon?

Short answer: no, because then you couldn't tell whether its the "items" prefix with empty token, or empty prefix with "items" token (right, it's the latter).

Long answer: yes, but not with PlaceTokenizers (implementing your own PlaceHistoryMapper; or with a catch-all PlaceTokenizer with the empty prefix), you'll have to implement your own "dispatch" (parsing) logic.

--
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/-/1hD60Pyr-zMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment