Galera, alguem poderia me dizer porque esse template nao aparece??
Segue os códigos
template.xhtml
<!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:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<title>TESTE</title>
</h:head>
<h:body>
<div id="header"><img src="img.jpg" alt="IMAGEM" /></div>
<ui:insert name="conteudo"></ui:insert>
<div id="footer">
<h3 align="center">TODOS DIREITOS RESERVADOS</h3>
</div>
</h:body>
</html>
teste-template.xhtml
<!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:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="template.xhtml">
<ui:define name="conteudo">
<h:form>
<h:outputLabel value="nome" for="campo-nome" />
<h:inputText id="campo-nome" />
<h:commandButton value="Enviar" />
</h:form>
</ui:define>
</ui:composition>
</html>
Se eu mando rodar so o template.xhtml aparece numa boa, agora o teste.xhtml não aparece nada
Alguma luz?