Bonsoir tous le monde
j'ai un probléme avec le templating jsf et le composants primefaces
par exemple le composant schedule ne s'affiche po
voicie mon template.xhtml :
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
33
34
35
36 <!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:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui"> <h:head> <link rel="stylesheet" type="text/css" href="resources/css/default.css" /> <link rel="stylesheet" type="text/css" href="resources/css/css.css" /> <link rel="stylesheet" type="text/css" href="resources/css/juizDropDownMenu.css" /> <title><ui:insert name="titre" /></title> </h:head> <h:body> <h:form> <f:view> <div id="total"> <div id="divWrapper"> <ui:insert name="contenu"> </ui:insert> </div> <div id="divFooter"> © 2012 APPS </div> </div> </f:view> </h:form> </h:body> </html>
et voici ma page qui utilise le composant schdule: calander.xhtml:
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
33
34
35 <?xml version="1.0" encoding="UTF-8"?> <!-- To change this template, choose Tools | Templates and open the template in the editor. --> <!DOCTYPE html> <html 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"> <ui:composition template="/template.xhtml"> <ui:define name="titre">Acceuil</ui:define> <ui:define name="contenu"> <div id="divScheduale"> <h:form id="scheduleForm"> <p:schedule value="#{mBSchedule.model}" widgetVar="myschedule" locale="fr" > <p:ajax event="eventSelect" /> <p:ajax event="dateSelect" listener="#{mBSchedule.onDateSelect}" /> <p:ajax event="eventMove" /> <p:ajax event="eventResize" /> </p:schedule> </h:form> </div> </ui:define> </ui:composition> </html>
merci pour votre aide c'est important
Partager