Andrea Biraghi wrote:1st solution: I need to submit form. I can't use link with attributes
Usually, the delete action requires a single attribute, e.g to delete "person/user" record I'll submit person id/user id and delete that row from db, If this is what you're doing then you can pass that id using link.
I don't know your html form or which property you're submitting. But to pass "id" through link, I'll use html:link tag instead of html:submit.
Andrea Biraghi wrote:2nd solution: rowid is the same for every row. This value isn't dynamic! "rowid = last indexList"
Sorry for that.
Finally, you need to pass an "request" attribute when you call delete action, either pass using "query string" or hidden request parameter, concentrate on that, you will get your answer.
Joined: Jun 23, 2009
I can't use html:link because I need to submit form values