bonjour, est ce qu'il y a une possibilé de mettre un checkbox dans un display tag ?








bonjour, est ce qu'il y a une possibilé de mettre un checkbox dans un display tag ?








voila ce que j'ai fait mais il ne connais pas idPointage, alors si je le laisse dans le display sans le chekbox il le connat :
MErci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 <display:table name="pointages" requestURI="/gestPointage.do" pagesize="5" class="taclasse" decorator="ma.corporate.Timesheet.metier.MyDecorator"> <display:column title="" style="width=50"> <input type="checkbox" name="idPointage" value='<bean:write name="pgf" property="idPointage"/>'> </display:column> <display:column property="tache.projet.intituleProjet" title="" style="width=185"/> <display:column property="tache.libelleTache" title="" style="width=185"/> <display:column title="" style="width=310"><html:textarea property="motifRejet"/></display:column> <display:column property="dureeTache" title="" style="width=61"/> </display:table>
Essaie plutôt :
avec tabIdPointage de type String[] défini dans l'ActionForm.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 <display:table name="pointages" requestURI="/gestPointage.do" pagesize="5" class="taclasse" decorator="ma.corporate.Timesheet.metier.MyDecorator"> <display:column title="" style="width=50"> <html:multibox property="tabIdPointage" value="${pgf.idPointage}"/> </display:column> <display:column property="tache.projet.intituleProjet" title="" style="width=185"/> <display:column property="tache.libelleTache" title="" style="width=185"/> <display:column title="" style="width=310"><html:textarea property="motifRejet"/></display:column> <display:column property="dureeTache" title="" style="width=61"/> </display:table>
Partager