Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dataTableComponent.jsp in **EDIT** mode

Status
Not open for further replies.

cglisc

Programmer
Nov 15, 2001
45
CY
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?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top