I suggest you don't use onSubmit. Instead, generate a "deletion url", which
then does the actual deletion. In Struts2, that would be an action. For
Spring MVC, I don't know.

Josep

2010/11/15 Vanessa Pacheco <vpach...@bowmansystems.com>

> Hi all,
>
> So, this is still about my delete button for every row in userList table.
> (userlist.jsp).
>
> I used 'c:forEach', thus replacing the displaytag. I was able to get the
> delete button/link to show up. However, when I click it, it doesn't do
> anything, because it somehow doesn't call the onSubmit() in
> userFormController. I don't have a form element on the page, cos there was
> never one to begin with. Could someone tell me how to get it to call that
> onSubmit method?
>
> Attached it the userList.jsp. Am not attaching userFormcontroller because I
> didn't make any changes to it.
>
> Vanessa
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>

Reply via email to