Não funfou , o que será que está errado?
Veja como está a pagina :
<ui:define name="corpo" src="/corpo.xhtml">
</ui:define>
[quote]
No corpo como seria o cabecalho da página ( corpo.xhtml ) ?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<body>
<a4j:form id="frmLogin">
<h:panelGrid styleClass="rsPanel" columns="2" border="1" width="500"
cellpading="0" cellspacing="0">
<f:facet name="header">
<h:outputText value="#{bundle['acesso_tela_login']}" />
</f:facet>
<h:outputText value="#{bundle['acesso_login']}" styleClass="rsLabel" />
<h:panelGroup>
<h:inputText id="login" value="#{loginHandler.usuario.login}"
styleClass="rsInput" size="30" required="true" style=" width : 207px;">
<f:validateLength minimum="1" maximum="30"/>
</h:inputText>
<h:message for="login" />
</h:panelGroup>
<h:outputText value="#{bundle['acesso_senha']}" styleClass="rsLabel" />
<h:panelGroup>
<h:inputSecret id="senha" value="#{loginHandler.usuario.senhaAtual}" style=" width : 205px;" required="true">
<f:validateLength minimum="1" maximum="30"/>
</h:inputSecret>
<h:message for="senha" />
</h:panelGroup>
</h:panelGrid>
<h:commandButton action="#{loginHandler.validarLogin}" value="#{bundle['acessar']}"/>
</a4j:form>
</body>
</html>
[code]
Porém a pagina não é lida.