NEW SYNTAX +++ Creates modal message and confirm dialogs. It is easy to use and reach of features.
*** Please vote to honor my work.***
Version 4.x.x: Vaadin 8.0.5+
Version 3.x.x: Vaadin 7.2+ with method chaining syntax
Version 2.x.x: Vaadin 7+
Version 1.1.x: Vaadin 6.7+
The ONLINE DEMO is deactivated since 2018-05-04. Openshift continously disables my account. It annoys me and I am not longer interested in Openshift. If you know another free vm provider, please let me know. Thanks!
DESCRIPTION
You simply want to show a message dialog? Unfortunally, Vaadin does not offer such a dialog. This add-on closes this gap. Now, the button captions are translated to more than 40 languages!
USAGE
It's very simple, flexible and self-explaining code:
MessageBox
.createInfo()
.withCaption("Info")
.withMessage("Hello World!")
.withOkButton(() -> System.out.println("Ok pressed."))
.open();
You can add more buttons with button listeners. But you can do much more. Test the demo to find out all features!
THANK YOU
I thank all contributors for the i18n, bug reports and ideas. It helps me a lot to improve the quality of this addon. Also I am glad about so much feedback. That is the cause, why I write open source and I maintain this addon.
Install
Migration to Vaadin 8. Support for VaadinIcons added and FontAwesome factories set to deprecated.