RE: Using checkbox to delete items

2005-04-20 Thread Fogleson, Allen
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

Re: Using checkbox to delete items

2005-04-20 Thread Michael J.
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

RE: Using checkbox to delete items

2005-04-20 Thread Fogleson, Allen
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

Re: Using checkbox to delete items

2005-04-20 Thread Rafael Taboada
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 ---

RE: Using checkbox to delete items

2005-04-20 Thread Fogleson, Allen
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