Hellow,
I need to create a jsp component similar to dataTableComponent.jsp, only in edit mode. That is, instead of having plain values in the table cells, display input fields. In addition, display 5 empty rows for the user to enter new records.
I am doing this by first iterating thru the rowset and then
another 5 iterations for the new rows.
Since there is now way to control the HTML name of the fields that are shown on the page/form, this results in arrays of HTML controls. Fine, I can live with this. However, the date picker does not work, since it receives the non array name of the input field.
Would anyone have any ideas on how to solve this?
Or, is there a ready component for such a task?
I need to create a jsp component similar to dataTableComponent.jsp, only in edit mode. That is, instead of having plain values in the table cells, display input fields. In addition, display 5 empty rows for the user to enter new records.
I am doing this by first iterating thru the rowset and then
another 5 iterations for the new rows.
Since there is now way to control the HTML name of the fields that are shown on the page/form, this results in arrays of HTML controls. Fine, I can live with this. However, the date picker does not work, since it receives the non array name of the input field.
Would anyone have any ideas on how to solve this?
Or, is there a ready component for such a task?