ConfirmDialog - Vaadin Add-on Directory
A versatile confirmation dialog for VaadinEver 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.
Discussion ForumIssue Tracker
Source Code
Author Homepage
Online Demo
ConfirmDialog version 1.2.1
null
ConfirmDialog version 2.0.5
Small fixes, added debug IDs. Packaged source code and Javadoc.
ConfirmDialog version 2.1.3
Escape as window close by github.com/lightoze
ConfirmDialog 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