Wednesday, March 28, 2012

Re: How to get page state

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).

-- J.

Am Mittwoch, 28. März 2012 18:19:28 UTC+2 schrieb Deepak Singh:

Hi,

At some point of time, i have to reload the window (After login through Gmail authentication), so i want that the page should be loaded in the same state as it was before login.

how can i save the state of the entire page and come back to the same state after login ?

Thanks
Deepak Singh

--
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/-/28X6UeExk5QJ.
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