Bonjour,
j'ai un probleme avec le composant datatable de jsf
voila mon code jsf:
et voila le message d'erreur retourné:Code:
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 <f:view> <html:dataTable value="#{DataTableBean.client}" var="client" border="1" cellspacing="4" width="60%" > <html:column> <html:outputText value="#{client.phone}" /> </html:column> <html:column> <html:outputText value="#{client.nom}" /> </html:column> <html:column> <html:outputText value="#{client.adresse}" /> </html:column> <html:column> <html:outputText value="#{client.CP}" /> </html:column> <html:column> <html:outputText value="#{client.ville}" /> </html:column> <html:column> <html:outputText value="#{client.comment}" /> </html:column> <html:column> <html:outputText value="#{client.por}" /> </html:column> </html:dataTable> </f:view>
org.apache.jasper.JasperException: Impossible de compiler la classe pour la JSP:
Une erreur s'est produite à la ligne: 19 dans le fichier jsp: /affich.jsp
The method setVar(String) in the type DataTableTag is not applicable for the arguments (JspValueExpression)
Merci d'avance si vous pouvez m'aiderCode:
1
2
3
4
5
6
7 16: 17: 18: <f:view> 19: <html:dataTable value="#{DataTableBean.client}" var="client" border="1" cellspacing="4" width="60%" > 20: <html:column> 21: <html:outputText value="#{client.phone}" /> 22: </html:column>