> You don't have that many options if you have to reload your site:
>
> - store your state in the URL if possible (GWT's Place feature can help you
> do so, you don't have to use MVP/Activities)
> - store it using HTML 5 Web Storage (browser
> support: http://caniuse.com/#search=web storage)
> - store it in cookies (only if you want to support IE6/7 and you can't
> store the state in the URL).
Here's an example of both Web Storage and cookies for persisting
state: http://zelea.com/project/votorola/s/gwt/stage/Stage.java
It's running here. The black linkbar at the top uses it:
http://zelea.com/w/User:Frank-FlippityNet/Sys/p/sandbox
--
Michael Allan
Toronto, +1 416-699-9528
http://zelea.com/
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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