Re: Accessing a row in a table on a JSP page.

2007-10-03 Thread JohnLangan
Thanks Nikhil and rickcr for the suggestions. I have resolved the problem by creating a form within the iterator so that each row is a separate form. Each row (form) uses the same ActionForm and Action and returns the row specific info. This works for what we want as only one row on the page will

Re: Accessing a row in a table on a JSP page.

2007-10-03 Thread Rick Reumann
On 10/2/07, JohnLangan <[EMAIL PROTECTED]> wrote: > > I call the database and create an ArrayList of beans to hold the data. Using > JSTL I iterate over the list > to display the data in an html table inside a form in a JSP page. > > > > I can give each row a number using ${row.index} > > The las

Re: Accessing a row in a table on a JSP page.

2007-10-03 Thread Nikhil Walvekar
Hi, You can try using javascript, on button submit call a function which will set row-index to a hidden field and which will be submitted with form. On server side you can use this field to identify the row. Regards, Nikhil On 10/2/07, JohnLangan <[EMAIL PROTECTED]> wrote: > > > I call the datab