List fellows,

Help. I displaying a table of data that will start blank. The table defaults to 20 
rows.

Required functionality states that I have to be able to add and remove rows from any 
position on the table. More difficult is that I have to redisplay information that may 
have been entered in the table prior to deleting a row.

Example: There are three rows. The user has decided to delete the 2nd, or middle row. 
As it is the current method is for the user to enter in a text field the row number to 
delete, but this could be a checkbox at the head of each row (I'm waiting for approval 
on this change actually...)

Now how do I:
1. Manage the retention of the currently entered data for the three rows?
2. Reinsert the data for row 3 into row 2 when I'll have on the request information in 
a format something like:
?first_name_1=bob&last_name_1=smith&first_name_3=tim&last_name_3=may
where row 2 has not posted because I have disabled the fields and intend to remove the 
row.

I'm sure that this kind of thing has been done... I just have never did it and need a 
mentor. Any help would be greatly appreciated. Is there an example out there that I 
can look at.

Thanks.
Tim

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to