Bonjour,
J'ai un problème avec JSF.
A l'exécution de ma page xhtml, je n'obtiens que les outputtext, sans le bouton, ni les inputtext et il n'y a pas d'exception. Sachant que j'ai ajouté le JAR primefaces 3-3Quelqu'un saurait-il m'indiquer d'où peut venir le problème ?
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
30
31
32 <f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:head></h:head> <body> <h:form id="form"> <p:growl showDetail="true" sticky="true"></p:growl> <p:panel header="Ajouter Article" toggleable="true"> <h:panelGrid columns="3" cellpadding="4" cellspacing="4"> <h:outputText value="Code" /> <p:inputText id="code" value="#{createArticleCtrl.article.code_Art}" required="true"></p:inputText> <p:message for="code"></p:message> <h:outputText value=" Nom" /> <p:inputText id="Nom" value="#{createArticleCtrl.article.nom_art}" required="true"></p:inputText> <p:message for="Nom"></p:message> <h:outputText value="Prix" /> <p:inputText id="Prix" value="#{createArticleCtrl.article.prix_HTVA}" required="true" ></p:inputText> <p:message for="Prix"></p:message> <p:commandButton value="Valider" action="#{createArticleCtrl.doAddArticle()}" update="form"></p:commandButton> </h:panelGrid> </p:panel> </h:form> </body> </f:view>
Merci d'avance pour votre aide.
Partager