Displaytag ModeleAttribute

Fermé
g25452 Messages postés 66 Date d'inscription vendredi 16 mai 2008 Statut Membre Dernière intervention 1 juin 2010 - 31 mars 2009 à 12:32
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


 <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"


<%@ taglib prefix="display" uri="http://www.displaytag.org/1.2/" %>



<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