show message on delete

This commit is contained in:
Anton Romanov 2020-02-17 13:07:57 +04:00
parent 1d0c90d932
commit 65569732d6

View File

@ -39,6 +39,7 @@ public class PapersView {
public void deleteSelected() { public void deleteSelected() {
paperService.delete(selectedPapers); paperService.delete(selectedPapers);
papers = paperService.findAll(); papers = paperService.findAll();
FacesUtil.showInfoMessage("Было удалено статей: " + selectedPapers.size(), "");
} }
public List<Paper.PaperStatus> getPaperStatuses() { public List<Paper.PaperStatus> getPaperStatuses() {