Hi,

In my application, I need a behaviour similar to the undo-redo of
desktop applications instead of normal web pages history behaviour.
I'll explain what I need with an example scenario:

1 - The user creates an element.
2 - The user realizes that he made a mistake.
3 - He pushes the back button.
At this point I need to delete the element from my application and
from the page and leave everything as it was before.

After the onValueChange method is invoked, I store the history token
as previous token for that, but I only need to use the previous token
if the back button is pushed and not in any other case.

So my question is:

Is it possible to identify it the source of the event is originated by
the back, or forward button? because depending on that, the behaviour
of my history should be different.

Thanks and regards,

Jorge
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to