Salut;
J’ai un problème de sélection de plusieurs lignes d'un tableau simultanément dans une jsp sachant que les lignes se terminent par un checkbox.
Je veux dire comment je peux récupérer les éléments sélectionnés dans mon ActionForm
Voici mon jsp
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
<table width="100%" border="1">
	<tr>
		<th><bean:message key="refcourrier"/></th>
		<th><bean:message key="idaffilie"/></th>
		<th><bean:message key="structure"/></th>
                <th><bean:message key="datearrive"/></th>
		<th><bean:message key="dateexpedition"/></th>
                <th><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="idAssure"/></td>
		<td><bean:write name="myLoop" property="codeStructure"/></td>
		<td><bean:write name="myLoop" property="dateArrivee"/></td>
                <td><bean:write name="myLoop" property="dateExpediteur"/></td>
                <td><html:checkbox  property="choix"/></td>
            </tr>
	</logic:iterate>
</table>
Sachant que j'ai utilisé un vecteur associé à cette collection dans mon ActionForm