struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Chaffee <>
Subject Using dynamic values with checkboxes/multiboxes
Date Fri, 27 Apr 2001 17:51:07 GMT
I want to have a group of checkboxes that all have the same name (multiboxes
in Struts), but I want the value to be an iterator from an array.

For example I have an array of size 3 so i want to create the following 3

<input type="checkbox" name="checkedValues" value="0">
<input type="checkbox" name="checkedValues" value="1">
<input type="checkbox" name="checkedValues" value="2">

Does anyone know a way I can do this using the multibox tag?



View raw message