Does GWT provide any way to define click handlers for when the user clicks the back/forward browser buttons? If so, how could I define such handlers? If not, why?
Asked
Active
Viewed 114 times
2 Answers
2
No, You cannot do that with GWT. However, you may use the History Token to manage the URL changes

dhamibirendra
- 3,016
- 23
- 26
-
Thanks @dhamibirendra (+1) - is it possible to do in JSNI/pure JavaScript? Why isn't it possible to do in GWT (and do you have any links to GWT docs that confirms this)? Thanks again! – IAmYourFaja Jan 04 '14 at 15:25
-
1search and found an older SO question http://stackoverflow.com/questions/2693527/how-do-i-determine-whether-i-am-going-forward-or-backward-through-my-history?rq=1 – dhamibirendra Jan 04 '14 at 15:36