Saturday, January 29, 2011

how to handle cases where a user Repeatedly presses browser Refresh button in the middle of server call ?

Hello Everyone,

do you have any suggestion on how we can handle situations where a user
repeatedly presses browser Refresh button during a server call ? (F5)

I am displaying data in a CellTable which uses RequestFactory to retrieve data.

if I press F5, couple of times during call to the server, I receive the following exception,
com.google.gwt.user.client.rpc.StatusCodeException: 0

complete stack trace can be found here: http://pastebin.com/VSuHH3VX

really appreciate any strategies for dealing with this situation.

Thank You

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