prblème avec logic:iterate
J'ai un tableau dont la dernier case de chaque ligne est un checkbox je veux récuperer à la soumission deux valeurs de chaque ligne couché ,la probléme est checkbox n'accepte qu'une seul valeur
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| <jsp:useBean id="lesCourriers" class="java.util.Vector" scope="request"/>
<table width="100%" border="1">
<tr>
<th bgcolor="Aqua"><bean:message key="refcourrier"/></th>
<th bgcolor="Aqua"><bean:message key="identifiant"/></th>
<th bgcolor="Aqua" ><bean:message key="structure"/></th>
<th bgcolor="Aqua" ><bean:message key="datebor"/></th>
<th bgcolor="Aqua"><bean:message key="refboc"/></th>
<th bgcolor="Aqua"><bean:message key="dateboc"/></th>
<th bgcolor="Aqua"><bean:message key="nbrePieces"/></th>
<th bgcolor="Aqua"><bean:message key="annotation"/></th>
<th bgcolor="Aqua" ><bean:message key="choix"/></th>
</tr>
<logic:iterate id="myLoop" name="lesCourriers" >
<tr>
<td><bean:write name="myLoop" property="refcourrier"/></td>
<td><bean:write name="myLoop" property="idexpediteur"/></td>
<td><bean:write name="myLoop" property="refbor"/></td>
<td><bean:write name="myLoop" property="datebor"/></td>
<td><bean:write name="myLoop" property="refboc"/></td>
<td><bean:write name="myLoop" property="dateboc"/></td>
<td><bean:write name="myLoop" property="nbrpiece"/></td>
<td><html:text property="annotation"/></td>
<td><input type='checkbox' value=??????? name='choix' /> </td>
</tr>
</logic:iterate>
</table> |
je veux récurérer de chaque ligne l'annotation et le refCourrier
j'ai une solution de concaténer les deux valeurs ; je ne sais pas comment