Hi all, In my struts2 application I have an iterator and a list with objects like -
<s:iterator value="listOfObjects">
<tr>
<td><s:property value="item" /></td>
<td><s:property value="category" /></td>
<td><s:property value="quantity" /></td>
<td><s:property value="brand" /></td>
<td><s:checkbox name="deleteRow" onclick="submit()"/></td>
</tr>
</s:iterator>
The above creates a table with a checkbox in the end column of each row. Now, Onclick any checkbox I want to set the values of corresponding row (only) in my bean class. I tried a lot but I am getting values of each row rather that values of only that particuler row whose checkbox user has clicked. Is it possible. If yes then please help. Thanks in advance.