<p:layoutUnit position="center">
<?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:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
<title>Matricula</title>
</h:head>
<h:body>
<p:layout fullPage="true">
<p:layoutUnit position="north" size="100" header="Top" resizable="true" closable="true" collapsible="true">
<h:outputText value="Top unit content." />
</p:layoutUnit>
<p:layoutUnit position="south" size="100" header="Bottom" resizable="true" closable="true" collapsible="true">
<h:outputText value="South unit content." />
</p:layoutUnit>
<p:layoutUnit position="west" size="200" header="Left" resizable="true" closable="true" collapsible="true">
</p:layoutUnit>
<p:layoutUnit position="east" size="200" header="Right" resizable="true" closable="true" collapsible="true" effect="drop">
<h:outputText value="Right unit content." />
</p:layoutUnit>
<p:layoutUnit position="center">
<h:form>
<h:panelGrid columns="2" style="margin-bottom:10px"
cellspacing="10">
<h:outputLabel for="aluno" value="Aluno:" />
<h:inputText id="aluno" value="#{alunoControle.aluno.nomeAluno}"
maxlength="50" size="50" />
<h:outputLabel for="nomeMae" value="Mãe:" />
<h:inputText id="nomeMae" value="#{alunoControle.aluno.nomeMae}"
maxlength="50" size="50" />
<h:outputLabel for="nomeResponsavel" value="Responsável:" />
<h:inputText id="nomeResponsavel"
value="#{alunoControle.aluno.nomeResponsavel}" maxlength="50"
size="50" />
<h:outputText for="dtNascimento" value="Data de Nascimento: " />
<p:inputMask id="dtNascimento"
value="#{alunoControle.aluno.dtNascimento}" mask="99/99/9999"
size="10" />
<h:outputText for="telefone" value="Telefone: " />
<p:inputMask id="telefone"
value="#{alunoControle.aluno.telefone}" mask="([telefone removido]"
size="10" />
<h:outputText for="celular" value="Celular: " />
<p:inputMask id="celular" value="#{alunoControle.aluno.celular}"
mask="([telefone removido]" size="10" />
<h:outputLabel for="email" value="Email:" />
<h:inputText id="email" value="#{alunoControle.aluno.email}"
maxlength="50" size="50" />
<br />
<p:commandButton actionListener="#{alunoControle.adicionarAluno}"
value="Gravar Aluno" />
</h:panelGrid>
</h:form>
</p:layoutUnit>
</p:layout>
</h:body>
</html>
Este seria o exemplo no site do Primefaces.
[url]http://www.primefaces.org/showcase-labs/ui/layoutFull.jsf[/url]
Desde agradeço pela ajuda.