Re: Issue: using logic:iterate to display rows and html:button to dis tinguish one of them

2006-11-07 Thread WongTseng
It's bacause you have more than one hidden elements with the same name,so whichever row you choose to delete, your action will recive an array of parameter values with the same parameter name. That's the reason why you always get the id of the first row. I suggest you to use a radio boxs to repla

Issue: using logic:iterate to display rows and html:button to dis tinguish one of them

2006-10-26 Thread Gallagher, Jim (RBoS ITD&S Dublin)
Hi Apologies if this is a simple issue, but it's driving me insane. In my web app (using Struts 1.1 on Java 1.4 & Websphere) I have a jsp that is using logic:iterate to display a sequence of records. On each row I have a "Delete" button, which should cause the object that row represents to be d