From 65569732d695f8ed76da197dab24dfa02e08bb45 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 17 Feb 2020 13:07:57 +0400 Subject: [PATCH] show message on delete --- src/main/java/ru/ulstu/paper/controller/PapersView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ru/ulstu/paper/controller/PapersView.java b/src/main/java/ru/ulstu/paper/controller/PapersView.java index 9720367..ae5f7e9 100644 --- a/src/main/java/ru/ulstu/paper/controller/PapersView.java +++ b/src/main/java/ru/ulstu/paper/controller/PapersView.java @@ -39,6 +39,7 @@ public class PapersView { public void deleteSelected() { paperService.delete(selectedPapers); papers = paperService.findAll(); + FacesUtil.showInfoMessage("Было удалено статей: " + selectedPapers.size(), ""); } public List getPaperStatuses() {