This content has been marked as final.
Show 1 reply
-
1. Re: Refresh dataTable
damianharvey Oct 15, 2007 1:30 PM (in response to jagr)If I understand you correctly, your method is deleting the associated EmployeeErrors from the database. In order to see this reflected in the DataTable you should also ensure that you remove them from the list that the table is based on.
For example: If your dataTable has a value like #{employeeHome.instance.employeeErrors} then your method should do both of these:entityManager.remove(employeeError); employee.getEmployeeErrors().remove(employeeError);
Cheers,
Damian.