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:

<input type="checkbox" name="user" value="${user.id}">xxx
<input type="checkbox" name="user" value="${user.id}">xxx
<input type="checkbox" name="user" value="${user.id}">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 nothing stopping you from
using <html:checkbox> if that is what you want to do also.

Al


-----Original Message-----
From: Rafael Taboada [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 20, 2005 12:19 PM
To: Struts List
Subject: Using checkbox to delete items

Hi folks.

I have a list of customers and i want to delete customers if its
checkbox has been checked, like mailbox(gmail,hotmail).

Please, do u know some place where i can find out information about it?

I can do this adding a delete link next to each customer. But is it
possible to do that but using checkbox???

Thanks for all ur help

Greetings from Peru

-- 

 Rafael Taboada

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to