confirm-dialog
Confirm Dialog is an easy to use web component to ask the user to confirm a choice. Based on famous MessageBox Addon
This project contains a flexible utility class for generating different styles of confirms dialogs for Vaadin (vaadin.com). With an icon on the left side, a message on the right of the icon and some buttons on the bottom of the dialog. E.g. you can define the window caption, different types of icons, a complex message designed with multiple Vaadin components, how many buttons are placed on the dialog, the caption for the buttons for your specific language, the icon of the buttons (see ConfirmDialog.ButtonType) and so on ...
Have a look on the "ConfirmDialog Web Site" for usage and more details.
Confirm Dialog is an easy to use web component to ask the user to confirm a choice based on famous MessageBox plugin add-on.
Features
- Vaadin Addon
- OpenSource
- Free for commercial usage
- Support for more than 40 languages
Sample code
ConfirmDialog .createQuestion() .withCaption("System alert") .withMessage("Do you want to continue?") .withOkButton(() -> { System.out.println("YES. Implement logic here.") }, ButtonOption.focus(), ButtonOption.caption("YES")) .withCancelButton(ButtonOption.caption("NO")) .open();
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Updated to Vaadin 14.0.2
- Released
- 2019-09-02
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 10+
- Browser
- N/A
confirm-dialog - Vaadin Add-on Directory
Confirm Dialog is an easy to use web component to ask the user to confirm a choice. Based on famous MessageBox AddonGitHub (Sources)
confirm-dialog version 1.0.0
Migration of MessageBox Addon for work with vaadin 10
confirm-dialog version 2.0.0
Updated to Vaadin 14.0.2