Bonsoir à tous,
j'utilise JSF1.2, Facelet 1.1.14, RichFaces3.3.2 sur Glassfish 2.1.
J'essaie d'utilisé les tag de JSTL mais lorsque ma page se charge je trouve le message suivant :
Au niveau du code source de la page j'ai :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 This page contains the following errors: error on line 131 at column 35: Namespace prefix c on if is not defined Below is a rendering of the page up to the first error.
Et dans mon xhtml j'ai :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <c:if test="true">Non validé </c:if>
J'ai bien importé les jar suivant dans mon WAR:
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 <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:c="http://java.sun.com/jsp/jstl/core" template="../../mainTemplate.xhtml"> ... <c:if test="#{fant.valide == 0}"> <h:outputText value="Non validé" /> </c:if>
- jstl-impl-1.2.jar
- standard.jar
Quelqu'un a-t-il une idée du pourquoi de mon erreur ?
Merci d'avance,
Gnarik
Partager