struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shabada, Gnaneshwer" <>
Subject RE: CheckBoxes in <logic:ietrate> tag
Date Mon, 27 Sep 2004 21:56:33 GMT
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

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"
	<td width="5%">
<!--<html:checkbox name="deleteForm" property="deleteList" value="true"
<html:multibox property="deleteList"

</td>	<td width="20%"><bean:write name="register"
<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>


-----Original Message-----
From: Wendy Smoak []
Sent: Monday, September 27, 2004 5:00 PM
To: Struts Users Mailing List
Subject: Re: CheckBoxes in <logic:ietrate> tag

From: "Shabada, Gnaneshwer" <>
> 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:
For additional commands, e-mail:

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 
Toys "R" Us, Inc.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message