Пример #1
0
 @Override
 protected DLResponse<Task> loadData(DLSearch<Task> search) {
   return taskService.searchAndCount(search);
 }
Пример #2
0
 /** Delete selected object task. */
 @ZkEvent(id = "deleteButton")
 @ZkConfirm(message = "Are you sure?", title = "Please confirm the action")
 public void delete() {
   taskService.delete(task);
   Events.postEvent(ZkEvents.ON_REFRESH, self, null);
 }