Quando vou fazer um update no include aparece isso:
The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within
<!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:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui">
<h:head>
<link
href="#{facesContext.externalContext.requestContextPath}/resources/nomedoSkin/theme.css"
rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="estilo.css" />
</h:head>
<h:body>
<style type="text/css">
.ui-layout-north {
z-index: 20 !important;
overflow: visible;
}
.ui-layout-north .ui-layout-unit-content {
overflow: visible;
}
</style>
<p:layout fullPage="true">
<p:layoutUnit position="north" size="60" resizable="false"
closable="false" collapsible="false">
<h:form>
<p:menubar autoSubmenuDisplay="true">
<p:submenu label="Meus Dados">
<p:menuitem value="Alterar" actionListener="#{menuBean.listener}"
update=":conteudo">
<f:param id="pagina" name="pagina" value="meusdados.xhtml" />
</p:menuitem>>
</p:submenu>
</h:form>
</p:layoutUnit>
<p:layoutUnit position="east" size="400" header="Meus dados"
resizable="true" closable="false" collapsible="true" effect="drop">
<font size="2"> <br />NOME: <h:outputLabel for="nome"
value="Thales do Nascimento da Silva" /> <br />CATEGORIA: <h:outputLabel
for="categoria" value="Administrador" /> <br /> <p:separator
id="customSeparator" style="height:20px" /> <h:form>
</h:form> <p:calendar mode="inline" id="inlineCal" />
</font>
</p:layoutUnit>
<p:layoutUnit position="center" id="conteudo">
<ui:include src="#{menuBean.pagina}" />
</p:layoutUnit>
</p:layout>
</h:body>
</html>