The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

rubinapaul (1) [Avatar] Offline
#1
Hi All,

We have one requirement to implement in GWT application. Below example will clear the requirement –

There are 3 screens in application. Suppose, user is on 2nd screen after moving from 1st screen to 2nd screen. When user clicks on Next button on first screen, then some RPC call is executed and fetch data from some external database. This data is used to display on 2nd screen. Now user bookmarks the browser URL (2nd screen) and closes the browser window.

Next time, now user directly wants to navigate to the 2nd screen without repeating the work done on 1st screen. We want to store the state of 2nd screen somehow on browser. If this screen launches, all Next and Previous button should also work properly.

Is this requirement achievable, if yes then which GWT APIs provides this feature? Please advice.
dongxu (2) [Avatar] Offline
#2
Re: How can we save state of a GWT page?
You must RPC again using the bookmarks token or store the data in user's browser.