Directory

← Back

confirm-dialog

Confirm Dialog is an easy to use web component to ask the user to confirm a choice. Based on famous MessageBox Addon

Author

Rating

Popularity

100+

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

  1. Vaadin Addon
  2. OpenSource
  3. Free for commercial usage
  4. 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();

Compatibility

(Loading compatibility data...)

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

Vaadin Add-on Directory

Find open-source widgets, add-ons, themes, and integrations for your Vaadin application. Vaadin Add-on Directory
The channel for finding, promoting, and distributing Vaadin add-ons.
Online