Sorry, i didnt
test in primefaces 2.1, i cant tell you how.
But before i did like this
public
String deleteAction() throws Exception {
employee = (Employee) dataModel.getRowData();
baseService.deleteEmpl(employee);
return "/pages/common/base/emplList.xhtml";
}
I dont suggest you to do