al Message-
From: Michael J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 1:38 PM
To: Struts Users Mailing List
Subject: Re: Using checkbox to delete items
I was [virtually] beaten up for updating domain model in GET request
;) And I agree, this is not a good practice. I personally
Taboada [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 20, 2005 12:55 PM
> Cc: Struts Users Mailing List
> Subject: Re: Using checkbox to delete items
>
> yeap but. does it haes to be inside to html:form? Because i have a
> button(image) which has the link to call the d
y, April 20, 2005 12:55 PM
Cc: Struts Users Mailing List
Subject: Re: Using checkbox to delete items
yeap but. does it haes to be inside to html:form? Because i have a
button(image) which has the link to call the delete action.
in the action class, do i have to call the array of user ids with
getPar
yeap but. does it haes to be inside to html:form? Because i have a
button(image) which has the link to call the delete action.
in the action class, do i have to call the array of user ids with getParameter?
i'm confused in what to do in action class.
--
Rafael Taboada
---
Rafael,
I am confused by what you mean. But yes you can have a checkbox and use
it for deletion of objects. Presuming you have something like this:
xxx
xxx
xxx
You would get an array of user ids in the request that you can iterate
through and delete.
Note I just used the html markup there is no
5 matches
Mail list logo