A versatile confirmation dialog for Vaadin

Ever needed a present a confirmation dialog in a Vaadin application?

Here is a way to do that nicely. The ConfirmDialog add-on introduces a configurable way of requesting user confirmation for a button click or just before some important operation.

Defaults like size calculation, keyboard bindings and styling are all there, but of course you can provide your own. Take a look at the demo application for sample code and use cases.

Supports both two-way (yes,no) and three-way (yes,no,cancel) confirmation. The three-way support was added in version 2.1.x. If you only need a "monolog box", please use the Vaadin's own showNotification method.

This is a server-side-only component, so no need to recompile the widgetset.

Install

Link to this version
CertifiedReleased 13 June 2017Apache License 2.0
Framework Support
Vaadin 8.0+
Also supported:
Vaadin 6 (1.2.1)Vaadin 7 (2.1.3)
Browser Compatibility
6
7
8
9
10
Install with
Release notes - Version 3.2.0
  • Added API for getting/setting buttons and fixed regression in 3.1.2.
  • Fixed extra margin issues. Thanks @BrunoEberhard
  • Fixed long message wrap in Valo. Thanks @knoobie