To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
How can I prevent from exit my vaadin 7 app when pressing "back" or "reload"? I don't know if this relates to the app or to the browser settings, but I would like it to be included in the app
Hi,you can use ViewChangeListener to handle navigation events. Here's the example: https://vaadin.com/wiki/-/wiki/Main/View%20change%20confirmations
Thank you for your answer Sergey!!! ....Do you know a solutions that doesn`t involve Navigation?
I just found an addon that solves the problem!!...https://vaadin.com/directory#!addon/beforeunload