All Projects → samie → Vaadin-ConfirmDialog

samie / Vaadin-ConfirmDialog

Licence: other
ConfirmDialog Add-on for the Vaadin 6, 7 and 8

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Vaadin-ConfirmDialog

material-theme-fw8
Material design theme for Vaadin Framework 8
Stars: ✭ 23 (+35.29%)
Mutual labels:  vaadin
vaadin-checkbox
The Web Component for customized checkboxes. Part of the Vaadin components.
Stars: ✭ 18 (+5.88%)
Mutual labels:  vaadin
vaadin-icons
Vaadin Icons is a collection of 600+ unique icons designed for web applications
Stars: ✭ 59 (+247.06%)
Mutual labels:  vaadin
maven-springboot-electron
Package your Java Web Application with Electron + OpenJDK only using Maven
Stars: ✭ 44 (+158.82%)
Mutual labels:  vaadin
karibu-dsl
Kotlin Vaadin extensions and DSL
Stars: ✭ 86 (+405.88%)
Mutual labels:  vaadin
vaadin-date-range-picker
Vaadin Flow DateRangePicker 📅 implementation
Stars: ✭ 13 (-23.53%)
Mutual labels:  vaadin
multiselect-combo-box
A multi select combo box web component based on Polymer and the vaadin-combo-box
Stars: ✭ 41 (+141.18%)
Mutual labels:  vaadin
IvorySQL
Open Source Oracle Compatible PostgreSQL.
Stars: ✭ 27 (+58.82%)
Mutual labels:  apache-license-2
helloworld-web
Hello World web application in 39 different ways in Java
Stars: ✭ 18 (+5.88%)
Mutual labels:  vaadin
vaadin-stepbystep-demo-contacts
Step by step demo Vaadin 8 app with simple JPA backend
Stars: ✭ 13 (-23.53%)
Mutual labels:  vaadin
report-ui
Generate Jasper Reports from your entities/beans/POJOs.
Stars: ✭ 14 (-17.65%)
Mutual labels:  vaadin
VaadinTetris
Vaadin and Canvas Element Demo.
Stars: ✭ 18 (+5.88%)
Mutual labels:  vaadin
base-starter-angular
Base Starter for Vaadin components with Angular
Stars: ✭ 13 (-23.53%)
Mutual labels:  vaadin
base-starter-flow-quarkus
A project base/example for using Vaadin with Quarkus
Stars: ✭ 23 (+35.29%)
Mutual labels:  vaadin
skeleton-starter-flow-spring
Default project template for Vaadin using Spring Boot
Stars: ✭ 29 (+70.59%)
Mutual labels:  vaadin
vaadin-context-menu
The responsive Web Component for showing context dependent items for any element on the page. Part of the Vaadin components.
Stars: ✭ 26 (+52.94%)
Mutual labels:  vaadin
karibu10-helloworld-application
Karibu-DSL HelloWorld application in Vaadin 14
Stars: ✭ 14 (-17.65%)
Mutual labels:  vaadin
Acuity
Acuity is a project that handles the backend infastructure of Runescape botting clients like https://rspeer.org/. This includes security, databases, client communication, dashboards, and services.
Stars: ✭ 24 (+41.18%)
Mutual labels:  vaadin
vaadin-text-field
The themable Web Component providing input controls. Part of the Vaadin components.
Stars: ✭ 29 (+70.59%)
Mutual labels:  vaadin
mateu-mdd
Open source framework for Model Driven Development (MDD)
Stars: ✭ 27 (+58.82%)
Mutual labels:  vaadin

ConfirmationDialog

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

Here is a way to do it nicely. The ConfirmDialog add-on provides you with a configurable way of requesting user confirmation for a button click or some other some 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.

Currently only two-way (yes,no) confirmation is supported. Vote for three-way (yes,no,cancel) if you need it. And for "monolog box" use the Vaadin's own showNotification method.

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

Usage of the add-on

private void addBasicExample() {
	Button button = new Button("Basic");
	button.setDebugId("basic");
	button.addListener(new Button.ClickListener() {
		public void buttonClick(ClickEvent event) {
			// The quickest way to confirm
			ConfirmDialog.show(getMainWindow(), "Are you sure?",
			        new ConfirmDialog.Listener() {

			            public void onClose(ConfirmDialog dialog) {
			                if (dialog.isConfirmed()) {
			                    // Confirmed to continue
								// DO STUFF
			                } else {
			                    // User did not confirm
								// CANCEL STUFF
			                }
			            }
			        });
		}
	});

Developing and building

Project sources are hosted in github.com.

Project is built with maven. Sources are directly in src directory, tests in test directory.

ConfirmTestApplication has main method that launches itself into an embedded jetty. Selenium2 tests are run against it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].