BeforeUnload offers server side access to BeforeUnload API
Demo application: http://app.siika.fi/BeforeUnloadDemo/
Source code: https://github.com/alump/BeforeUnload
Vaadin Directory: https://vaadin.com/directory#addon/beforeunload
License: Apache License 2.0
- disablePermanently API for client side by Benedek Herold
- API simplified as modern browsers do not anymore show message given by API
- Vaadin 8 support
- Server side can now also access the client side temporary disable feature
- Adds client side API for disabling exit verification. Can be eg. used when force reloading page after connection error. https://github.com/alump/BeforeUnload/wiki/How-to-disable-verification-dialog-when-connection-error
- Initial release
cd beforeunload-addon mvn package
add on can be found at: picker-addon/target/BeforeUnload-.jar zip package used at Vaadin directory can be found at: picker-addon/target/BeforeUnload-.zip
To install addon to your local repository, run:
cd beforeunload-addon mvn install
First compile and install addon (if not already installed)
cd beforeunload-addon mvn install
Then compile demo widgetset and start HTTP server
cd ../beforeunload-demo mvn vaadin:compile mvn jetty:run
Demo application is running at http://localhost:8080/beforeunload
First compile and install addon (if not already installed)
cd beforeunload-addon mvn install
Then construct demo package (this should automatically compile widgetset)
cd ../beforeunload-demo mvn package
War package can be now found at beforeunload-demo/target/BeforeUnloadDemo.war