Galera é o seguinte eu tenho essa index.xhtml e quero chamar outro xhmtl que tem um dialog como eu faço ?
OBS:Eu sou iniciante, poria mostrar o xhtml de um dialog como seria ?
Abraços
index.html<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui" xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<title>Testel</title>
</h:head>
<h:body>
<h:form>
<center>
<p:spacer height="50%" />
<p:panel header="Dialog" style="width: 41%;">
<p:commandButton value="Abrir" style="width: 100"}"/>
</p:panel>
</center>
</h:form>
</h:body>
</html>