/** @param target */ private void deleteSelectedProcesses(Collection<Process> processes, AjaxRequestTarget target) { String message = new StringResourceModel("process.selected.deleted", this, null).getString(); processService.delete(processes); getPage().success(message); updateFeedbackPanel(target); updateProcessList(target); // update the delete button processGroup.updateModel(); updateDeleteSelectedButton(target); }
/** Called when a selection changes. */ @Override public final void onSelectionChanged() { convertInput(); updateModel(); onSelectionChanged(getModelObject()); }