{"id":17401484,"url":"https://github.com/samie/vaadin-confirmdialog","last_synced_at":"2025-04-15T17:23:27.914Z","repository":{"id":2385419,"uuid":"3351074","full_name":"samie/Vaadin-ConfirmDialog","owner":"samie","description":"ConfirmDialog Add-on for the Vaadin 6, 7, 8, and 14","archived":false,"fork":false,"pushed_at":"2024-02-16T13:18:46.000Z","size":5411,"stargazers_count":17,"open_issues_count":10,"forks_count":27,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T23:03:21.211Z","etag":null,"topics":["apache-license-2","java","vaadin"],"latest_commit_sha":null,"homepage":"http://vaadin.com/addon/confirmdialog","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samie.png","metadata":{"files":{"readme":"README.creole","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-04T05:47:27.000Z","updated_at":"2023-01-05T20:10:19.000Z","dependencies_parsed_at":"2023-02-12T00:15:59.398Z","dependency_job_id":null,"html_url":"https://github.com/samie/Vaadin-ConfirmDialog","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samie%2FVaadin-ConfirmDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samie%2FVaadin-ConfirmDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samie%2FVaadin-ConfirmDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samie%2FVaadin-ConfirmDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samie","download_url":"https://codeload.github.com/samie/Vaadin-ConfirmDialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249116771,"owners_count":21215265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-license-2","java","vaadin"],"created_at":"2024-10-16T16:24:12.960Z","updated_at":"2025-04-15T17:23:27.845Z","avatar_url":"https://github.com/samie.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= ConfirmationDialog =\n\nEver needed a present a confirmation dialog in a Vaadin application?\n\nHere 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. \n\nDefaults 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.\n\nCurrently 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. \n\nThis is a server-side-only component, so no need to recompile the widgetset.\n\n== Usage of the add-on ==\n\n{{{\nButton button = new Button(\"Unsafe action\", e -\u003e {\n\n    // The quickest way to confirm\n    ConfirmDialog.show(UI.getCurrent(), \"Are you sure?\",\n            (ConfirmDialog.Listener) dialog -\u003e {\n                if (dialog.isConfirmed()) {\n                    // Confirmed to continue\n                    // DO STUFF\n                } else {\n                    // User did not confirm\n                    // CANCEL STUFF\n                }\n            });\n});\nadd(button);\n}}}\n\n\n== Developing and building ==\n\nProject sources are hosted in github.com.\n\nProject is built with maven. Sources are directly in src directory, tests in test directory.\n\nConfirmTestApplication has main method that launches itself into an embedded jetty. Selenium2 tests are run against it.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamie%2Fvaadin-confirmdialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamie%2Fvaadin-confirmdialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamie%2Fvaadin-confirmdialog/lists"}