When working with GWT Activities and Places, is it possible to not display the token, e.g. ":myToken" in the URL as seen below.
From: http://domain.com开发者_Python百科/page/#HelloPlace:myToken
To: http://domain.com/page/#HelloPlace
Many thanks, Alex
The tokens are required for history support in the application when using the built in MVP architecture, I don't think you can remove them unless you only want to have one screen in your application.
See HyperLink.setTargetHistoryToken() documentation javadoc.
You can use an Anchor is you don't need history processing.
精彩评论