Bonjour,

j'ai une page avec des onglets, et chaque onglet est représenté par une page.xhtml ( voir le code ci-après ) et j'aimerai mettre des boutton NEXT (dans chaque page)qui me permettent de passer à la page suivante ( onglet suivant ) et de l'actualiser au même temps.

primLayout.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
 
<p:tabView id="tabView">  
 
            <p:tab id="tab3" title="Instruction">  
                <h:panelGrid columns="2" cellpadding="10">  
 
                    <iframe src="instructions.xhtml"
                            frameborder="0" scrolling="auto" align="center" height="500px" width="1000px" >
                    </iframe>
 
                </h:panelGrid>  
            </p:tab>  
 
        <!--    <p:tab id="tab1" title="Choosing the Type of Source and Target">  
                <h:panelGrid columns="2" cellpadding="10">  
 
                    <iframe src="pageTypeSelectBD.xhtml"
                            frameborder="0" scrolling="auto" align="center" height="500px" width="1000px" >
                    </iframe>
 
                </h:panelGrid>  
            </p:tab> -->
 
            <p:tab id="tab1" title="Connexion source database">  
                <h:panelGrid columns="2" cellpadding="10">  
 
                    <iframe src="oracle.xhtml"
                            frameborder="0" scrolling="auto" align="center" height="500px" width="1000px" >
                    </iframe>
 
                </h:panelGrid>  
            </p:tab>
 
            <p:tab id="tab5" title="Connexion Target Database">  
                <h:panelGrid columns="2" cellpadding="10">  
 
                    <iframe src="teradata.xhtml"
                            frameborder="0" scrolling="auto" align="center" height="500px" width="1000px" >
                    </iframe>
 
                </h:panelGrid>  
            </p:tab>
            <p:tab id="tab6" title="Selection table">  
                <h:panelGrid columns="2" cellpadding="10">  
 
                    <iframe src="pageTypeSelectTable.xhtml"
                            frameborder="0" scrolling="auto" align="center" height="500px" width="1000px" >
                    </iframe>
 
                </h:panelGrid>  
            </p:tab>
 
 
            <p:tab id="tab7" title="Comparator">  
                <h:panelGrid columns="2" cellpadding="10">  
 
                    <iframe src="comparator.xhtml"
                            frameborder="0" scrolling="auto" align="center" height="500px" width="1000px" >
                    </iframe>
 
                </h:panelGrid>  
            </p:tab>
 
 
            <p:tab id="tab8" title="Report">  
                <h:panelGrid columns="2" cellpadding="10">  
 
                    <iframe src="pageTypeRapport.xhtml"
                            frameborder="0" scrolling="auto" align="center" height="500px" width="1000px" >
                    </iframe>
 
                </h:panelGrid>  
            </p:tab>
 
        </p:tabView>
Voici un exemple de ce que j'aimerai faire http://www.primefaces.org/showcase/ui/wizard.jsf, sauf que je sais pas comment le transposer dans ma pageLayout.xhtml

Merci de votre aide