Please give me an idea of ββdata management in GWT. I use Gwt in the project of my travel portal, and my web pages are linked to the previous page data, but when I click the browser refresh button, then my data is lost. so please tell me if there is a way to handle this problem.
The GWT history class cannot be used to control page refresh (backward / forward only).
Click the update button, send a request to the server, and the application status will be restarted from the server. All this. You have to deal with this.
, , .
, HTML5 localStorage .
.
url .
= "ny"; History.newItem( " =" + );
URL- www.example.com # location = ny
, , URL- , ny.
History.newItem( " =" + startLocation + "& =" + endLocation); URL- www.example.com # start = newyork & end = boston
, URL ( URL #) - your-site.com/app#page-1
your-site.com/app#page-1
, GWT History. , / .
History
, , URL #page-1 vs #page-2 ..
#page-1
#page-2
A more generalized and scalable solution for this is similar to gwt-platform Place (along with presenters, which are also a good idea for large applications)
Source: https://habr.com/ru/post/1758374/More articles:C # / ODP.NET: workaround for large IN - c #C #, Textbox.Text encoding - c #Cannot start applications in eclipse in debug mode on a recently installed poppy - javaRails InvalidAuthenticityToken at random moments - ruby-on-railsHow to remove drill bits and normal hyperlinks in Excel version of reports? - reporting-servicesIPhone AudioStreamer not working on OS4 - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1758376/adding-divs-to-the-html-body-using-lift&usg=ALkJrhjIGAtXm9M8ldOG-CyiY2wVyXRIQQImagePicker using video. An even compiler error - iphoneHow to check files from the command line and show the graphical interface of the new UCM activity, if necessary - clearcaseFile based VCS verification - pythonAll Articles