Bonjour à tous,
Je suis en train d'apprendre à utiliser Primefaces et je bute sur cette erreur:
Warning: This page calls for XML namespace http://primefaces.org/ui declared with prefix p but no taglibrary exists for that namespace.
Je ne comprends pas, voilà ma seule facelet:
Des idées?
Code : 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
28
29 <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:head> <title>Final exemple JSF 2.0</title> </h:head> <h:body> <h1>Final exemple JSF 2.0 - affichage.xhtml</h1> <h:form> <p:dataTable var="c" value="#{List2.l}"> <p:column headerText="Nom"> #{c.nom} </p:column> <p:column headerText="Prénom"> <h:outputText value="#{c.prenom}" /> </p:column> <p:column headerText="Secteur"> <h:outputText value="#{c.secteur}" /> </p:column> </p:dataTable> </h:form> </h:body> </html>
Partager