problème avec logic:iterate
je veux savoir comment récupérer un champs texte saisi dans un logic:iterate, en effet j'ai à chaque iteration un bean a affiché et un champ texte saisi qui doit étre récuperé a la soumission dans un checkBox (tableau chaque ligne se termine par un checkBox)
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<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 ; mais je ne peux pas recupérer le champs texte "annotation"