Esempio n. 1
0
 public void deleteGroup(AjaxBehaviorEvent event) {
   Group group = groupModel.getRowData();
   DaoFactory.getInstance().getGroupDao().deleteGroup(group.getId());
   groupList.remove(group);
   fillGroupItem();
   //        getAllGroup();
 }
Esempio n. 2
0
 private void fillGroupItem() {
   groupItem = new ArrayList<SelectItem>();
   for (Group group : groupList) {
     groupItem.add(new SelectItem(group, group.getName()));
   }
 }