inserer une page dans une autre page
salut tout le monde je veux bien include une page "test.xhtml" dans cette partie <rich:layoutPanel position="center"> en click sur le bouton mais je n'arrive pas à faire
Code:
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich">
<rich:panel >
<h:panelGrid width="60%">
<rich:layout>
<rich:layoutPanel position="top" width="200">
<h:graphicImage value="./images/back.gif"/>
<h1>exemple</h1>
</rich:layoutPanel>
<rich:layoutPanel position="left">
<h:panelGroup>
<a4j:commandButton value="Soumettre" />
<a4j:commandButton value="Annuler" />
</h:panelGroup>
</rich:layoutPanel>
<rich:layoutPanel position="center">
</rich:layoutPanel>
<rich:layoutPanel position="right">
<h:panelGroup>
<a4j:commandButton value="Soumettre" />
<a4j:commandButton value="Annuler" />
</h:panelGroup>
</rich:layoutPanel>
</rich:layout>
</h:panelGrid>
</rich:panel>
</ui:composition> |
merci