Hi,

Thanks for the input Robert, but the array will be shorter than the arraylist whenever a checkbox is not selected.

I've had a look at Rick Reumann's Struttin with Struts lesson 3 which does something similar and now have:

<c:forEach var="service" items="${services}" varStatus="status">
<TR>
<TD><c:out value="${service.name}"/></TD>
<TD
<html:multibox name="serviceForm" property="selectedServices"><c:out value="${service.status}"/>
</TD>


 </TR>
</c:forEach>

This is a step in the right direction but still doesn't work (the checkboxes aren't checked when viewing the page even though they should be set). The service.status field in the service class is a byte - does this have to be a String?

Cheers
Andy

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



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



Reply via email to