The system needs to let the user modify some rows, or maybe delete another rows, or just add new rows, and at the end, or when ever they wants, they can click on the save button. Allows to update a data base, from a data table that has been modified, deleted rows, and add rows?But each thing will happen, before the data is stored in the database. We have a list of books wrote on the paper, and we want to add a couple of books more, but later we discovered that one book is not needed, and 2 seconds later, we see that the name of a book, is wrong, spell mistakes.If, To begin with, I think you need to do your own homework.
The corresponding event listener code will update the error data table with errors, if any pertaining to the row and also make the display attribute inline.
The event listener is getting called correctly and also the display attribute is set correctly which I have verified using print statements.
You need to learn how to load the table (using a Data Adapter), how to make changes to records in the Data Table, how to add Insert, Update, and Delete queries to the Data Table (using a Command Builder), and how to use the Data Table.
Update method to "persist" the changes to the table.
The update attribute in the p:ajax component within primefaces datatable version 3.0 M4, does not seem to work correctly. I am also using another datatable called error message data table to display error message.