Cancelling a page navigation

Hi All,

My turn to ask a question, instead of trying to answer them!

Is it possible to “cancel” a user initiated uri navigation? We’re using Vaadin 6 & the URIFragmentUtility.

Adapting Mauno’s code from
this post
, we can ask the user if they want to leave the page - however, this doesn’t (can’t?) check if the URI fragment has changed.

Currently, thinking of extending VUriFragmentUtiltiy to expose the GWT History.back() functionality, and then (optionally) invoking that when it receives a history changed event - Feels a bit clunky, though.

Any ideas/pointers?

Cheers,

Charles.