J'utilise JSF-facelets.jar 1.1.14 (je l'ai téléchargé here) et tomcat 6,0tag JSF introuvable
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)
Implementation-Version: 1.1.14
Si je comprends bien, JSF-facelets.jar = JSF + JSTL + Facelets (???)
Mon problème est lorsque j'utilise la fonction "fmt".
Ce code ...
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:fmt="http://java.sun.com/jstl/fmt">
<h:outputLabel value="hello" />
<fmt:formatDate value="${myBean.date}" pattern="dd/MM/yyyy"/>
</html>
... générer ce code HTML:
<html>
<p>hello</p>
<fmt:formatDate value="${myBean.date}" pattern="dd/MM/yyyy"/>
</html>
Pourquoi "fmt: formatDate" est pas un changement dans le code HTML? ??
harto, merci beaucoup pour cette réponse qui fonctionne. De plus votre lien est très utile! –