Hello There are some tables in database and I have to transfer them to the web pages. Also they can be deleted and edited. I am using Struts. I populate a list of objects from tables. And put this list in a formbean and list them in a web page as below:
<logic:iterate id="omenu" name="operForm" property="operMenus"> <tr> <td> <bean:write name="omenu" property ="description"/></td> <td> <bean:write name="omenu" property ="action"/></td> </tr> </logic:iterate> I want to make all rows editable therefore I am thinking of puting a button(edit) at the end of all rows and if clicked show all details in text boxes in a new popup. the question is how can I recognize the clicked row and populate them in a new window? or are there any other approaches?