Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Browser refresh button
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
javier  
View profile  
 More options Aug 14 2009, 6:35 pm
From: javier <jasand...@gmail.com>
Date: Fri, 14 Aug 2009 15:35:30 -0700 (PDT)
Local: Fri, Aug 14 2009 6:35 pm
Subject: Browser refresh button
Hi there:

there's plenty of documentation regarding the handling of the
browser's back button with GWT's History tracking.  I understand the
concept of mapping a String token to a specific application state.

Does GWT provide a mechanism to notify the application whenever the
user clicks the browser's refresh button? (ie the equivalent to
History.addValueChangeHandler() for the back button).

Is there a recommended strategy for handling the browser's refresh
button in the context of a GWT app?  I'm curious to learn how are your
applications currently dealing with this.

Thanks in advance for any comments and suggestions.

Javier.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Bambury  
View profile  
 More options Aug 14 2009, 7:05 pm
From: Ian Bambury <ianbamb...@gmail.com>
Date: Sat, 15 Aug 2009 00:05:49 +0100
Local: Fri, Aug 14 2009 7:05 pm
Subject: Re: Browser refresh button

All you get to work with is the state held in the history token, stuff in
cookies ... you can log the user back in to the application and use anything
you have on the server, but basically it's a refresh and if the user wanted
it in the state it was in before they hit F5, they wouldn't have hit F5.
You have to ask yourself what the user is trying to achieve by refreshing -
do they really want all the form fields filled with what was there before,
or are they trying to start again in the same condition but with a blank
form?

My strategy is to get the user back to the state they were in when they
first came to the page being shown if possible. (I use the word 'page' in a
GWT sense)

Ian

http://examples.roughian.com

2009/8/14 javier <jasand...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »