當我執行這個xhtml頁面時,我有一個erreur消息,我認爲我有一個
問題在我的selectonemenu存儲數據在列表中與參數j-1,我-1 此錯誤消息(格雷夫斯:javax.faces.component.UpdateModelException: java.lang.NumberFormatException:對於輸入字符串: 「GET」)將selectonemenu的數據存儲在一個列表中
<p:panelGrid columns="#{horaireBean.listCalendrier.size()+1}"
styleClass="horaire1" >
<p:outputLabel >
<center>
<h4>Catégorie/Calendrier</h4>
</center>
</p:outputLabel>
<c:forEach var="cal" begin="1"
end="#{horaireBean.listCalendrier.size()}">
<p:outputLabel
value="#{horaireBean.listCalendrier.get(cal-1).designation}" />
</c:forEach>
<c:forEach var="j" begin="1"
end="#{horaireBean.listCategorie.size()}">
<p:outputLabel
value="#{horaireBean.listCategorie.get(j-1).desigCat}" />
<c:forEach var="i" begin="1"
end="#{horaireBean.listCalendrier.size()}">
<p:selectOneMenu value="#{horaireBean.listehoraire.get(j-1).get(i-1)}"
styleClass="horaire2" converter="sequenceConverter" >
<f:selectItem itemLabel="#{horaireBean.listehoraire.get(j-1).get(i-1).desigSeq}"/>
<f:selectItems value="#{sequencebean.listeSequence}" var="seq" itemLabel="#
{seq.desigSeq}" itemValue="#{seq}" />
<p:ajax event="change" process="@this" update=":formheader:enregistrer
:formheader:annuler" />
</p:selectOneMenu>
</c:forEach>
</c:forEach>
</p:panelGrid>
的listhoraire是:私人的ArrayList> listehoraire; –
user3506058