How do I determine whether I am going "forward" or "backward" through my History in GWT?

Posted by Stephen Cagle on Stack Overflow See other posts from Stack Overflow or by Stephen Cagle
Published on 2010-04-22T18:46:38Z Indexed on 2010/04/23 0:43 UTC
Read the original article Hit count: 302

Filed under:
|
|
|

I am looking at History and History JavaDocs in GWT and I notice that there is no way to tell whether the forward or backward button was pressed (either pragmatically or by the user). The "button press" is handled by your registered addValueChangeHandler, but the only thing passed to the handler is a string on your history stack. There is no indication as to whether the "History" is moving "back" (using the back arrow button) or "forward" (using the right arrow button). Is there any way to determine this?

© Stack Overflow or respective owner

Related posts about gwt

Related posts about java