Bonjour,
dans ma jsp j'ai quelquechose qui ressemble à :
j'ai donc 2 hmtl:select identique à la valeur du champs property prêt. Est ce que ça ne serait pas possible de factoriser le tout dans une autre logic:iterate ?Code:
1
2
3
4
5
6
7
8
9
10
11
12
13 <td><html:select name="planningForm" property="lundiLunchId" size="1"> <logic:iterate id="plat" name="plats"> <html:option value="${plat.id}">${plat.name}</html:option> </logic:iterate> </html:select></td> <td><html:select name="planningForm" property="lundiDinnerId" size="1"> <logic:iterate id="plat" name="plats"> <html:option value="${plat.id}">${plat.name}</html:option> </logic:iterate> </html:select></td>
Merci