JSF DataTable Pagination and valueChangeListener doubt
Hi
I have a datatable initialized to 50 rows initially. it is set to display 10 rows per page.
user can enter information in each row (initially these rows are blank). Wheneven the user enters a value in the first text field, i use valueChangeListener and populate that row.
Now, let's say after populating row 0, the user clicks on Page 2 (of the datatable) and enters another value in the text field at row 12. when i populate that row, i need to add it to 12th row of the DataTable's arraylist.
But, each time the datatable gives 10 rows and i get exception if i use arrayList.set(rowIndex, item)
How does the datatable work?

