I have a dataTable and an inputText field, so that whatever number (N) I type in the inputText field, N number of rows are shown in the dataTable. This is done by adding elements to the arrayList i.e, is behind dataTable, through Ajax Request. This is all working fine.
But the problem arises when I fill the inputs in the dataTable and submit the page. The size of arrayList is still zero. It should be N.