开发者

GWT persistent URLs

开发者 https://www.devze.com 2023-04-12 19:23 出处:网络
I have a开发者_开发问答 web-app built with GWT, Request Factory and Places/Activities. I\'m curious whether history tokens I use are persistent or not. The task is basically just about having URLs tha

I have a开发者_开发问答 web-app built with GWT, Request Factory and Places/Activities. I'm curious whether history tokens I use are persistent or not. The task is basically just about having URLs that define exact places of my web-app (read as - "files/folders structure"). So, what I need is urls like http://localhost/MyModule.html#uirwcynoerictyeroituwcyoi that would still cause the same data to be displayed even a year later. Does history token guarantee that for some particular Place it would be always the same?

If no, what is solution here?


For each Place you can write your own PlaceTokenizer. So if you don`t change your PlaceTokenizer (or write them to handle legacy places), you can use the same urls as long as you like.

Take a look here: http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html#Places

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号