Não consigo ver todo meu conteudo através do Template;
OBS: Somente o id menu não aparece em outra página, agora se eu rodar a página de template ela aparece.
meu template
`
<h:head>
<title><ui:insert name="titulo"> controle de serviço</ui:insert>
</title>
</h:head>
<h:body>
Controle de Serviço
<p:commandButton value=“sair” styleClass=“btn btn-danger” />
<div id="menu">
<p:layout style="min-width:400px;min-height:200px;">
<p:layoutUnit position="west" resizable="true" size="100"
minSize="40" maxSize="200">
West
</p:layoutUnit>
<p:layoutUnit position="center">
Center
</p:layoutUnit>
</p:layout>
</div>
<script src="jquery/jquery.js" />
<script>
$('h2').animate({"margin-left": "+=580"},2000);
</script>
</h:body>
`pagina que usa o template
`
<ui:composition template="/template/_template.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:ui=“http://xmlns.jcp.org/jsf/facelets”>
<ui:define name=“titulo”>menu principal</ui:define>
</ui:composition>
`