J'utilise le fichier suivant sous le nom hello.xhtml,
Selon le tuto, ça doit m'afficher un champ d'input,
mais tout ce que j'ai c'est : Hello from Facelets
J'ai essayé de suivre cet article : http://x-plode.developpez.com/articles/jsf2.0/

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
 
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        Hello from Facelets
 
        <h:form id="helloForm">
          <h:panelGrid columns="3">
              Hello
              <h:inputText id="name" value="#{helloBean.name}"/>
              <h:commandButton action="#{helloBean.sayHello}" value="Hello"/>
          </h:panelGrid>
</h:form>
    </h:body>
</html>