tags:

views:

23

answers:

1

hi,

is it possible to remove a History item in gwt? What i want to achieve is that in a special case pressing the browsers back button will show up the second history item from back. I know i can do it by manually calling History.back();, but i don't like that because the user will see the transition for a second or so which is not nice. Thx in advance for help.

kuku

+2  A: 

No the browsers do not allow this.

GWT uses Javascript (of course) to manipulate the browser history. The Javascript engines do not allow the removal of history entries.

Maybe you could make a HistoryListener to skip the step you want removed, but you would have to keep track of history yourself in order to decide which way to skip (forward or backward)

Fedearne
thx for the fast response.
kukudas