Bonjour,
J'afficher des tableau à l'aide de la taglib "displaytag"
J'aimerais savoir comment modifier mon Releve
la variable totPrestaHeure sert a faire des sous tableau
mais ca me mets des erreurs lorsque je complete la ligne
Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2<form:input path="prestations[${prestation_rowNum -1}].heure"
Erreur : Failed to convert property value of type [java.lang.String[]] to required type [double] for property prestations[0].heure; nested exception is java.lang.NumberFormatException: For input string: "10,0.0"
Code xml : 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
22
23
24
25
26
27 <%@ taglib prefix="display" uri="http://displaytag.sf.net" %> <form:form action="modifierReleve.html" method="POST" modelAttribute="releve"> <display:table uid="prestation" name="${totPrestaHeure}" class="tableau" decorator="org.displaytag.decorator.TotalTableDecorator"> <display:column title="Groupe" headerClass="" property="typePrestation.groupe.parent.label" media="html" group="1"/> <display:column title="Heure" headerClass="" media="html" total="true" property="heure"> <form:hidden path="prestations[${prestation_rowNum -1}].id"/> <form:hidden path="prestations[${prestation_rowNum -1}].jour"/> <form:hidden path="prestations[${prestation_rowNum -1}].typePrestation"/> <form:hidden path="prestations[${prestation_rowNum -1}].releve"/> <form:input path="prestations[${prestation_rowNum -1}].heure" cssStyle="width: 3em;"/> </display:column> </display:table>
Est- ce quelqu'un pourrais m'aider?
Merci
Partager