Wendy, Thanks for your reply. I tried the multi-box but ran into another set of problems. I seem to be able to retrieve the values but not the ones that I needed.
I replaced the checkbox with multi box and in my action class when I retrieved values, I was getting as "$register.memberId" Strings rather than the memberIds for those checked. Am I doing anything wrong? <logic:iterate id="register" name="searchResults" type="org.acaosa.registration.RegistrationTO"> <tr> <td width="5%"> <!--<html:checkbox name="deleteForm" property="deleteList" value="true" indexed="true"></html:checkbox>--> <html:multibox property="deleteList" value="${register.memberId}"></html:multibox> </td> <td width="20%"><bean:write name="register" property="firstName"/></td> <td width="20%"><bean:write name="register" property="lastName"/></td> <td width="20%" align="center"><bean:write name="register" property="phone" /></td> <td width="25%"><bean:write name="register" property="email" /></td> <td width="10%" align="center"><bean:write name="register" property="region" /></td> </tr> </logic:iterate> Thanks Gnan -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 5:00 PM To: Struts Users Mailing List Subject: Re: CheckBoxes in <logic:ietrate> tag From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]> > I am running into problem when trying to implement checkboxes using Struts > html:checkbox tag in <logic:iterate> tag. The scenario is as follows: If you have multiple checkboxes, the multibox tag, not checkbox. Then it should populate your String[] property. I'm using Struts-EL and JSTL, so I'm not sure if you really need the 'indexed' attribute or not. I don't use it. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ======================================================================== This email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Toys "R" Us, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]