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>
<form:input path="prestations[${prestation_rowNum -1}].heure"
</code>
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>
<%@ 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>
</code>
Est- ce quelqu'un pourrais m'aider?
Merci