Boa noite pessoal!
Curto e grosso…
As minhas xhtmls estão cheias desse que insiste em aparecer!
Estão destruindo as minhas telas e eu não consigo achar o motivo… Pesquisei e pesquisei e nada…
Segue a estrutura do meu projeto que peguei desse ótimo site: http://uaihebert.com/aplicacao-web-completa-jsf-ejb-jpa-jaas/1/
E segue um trecho da tela…
[code]<?xml version="1.0" encoding="UTF-8"?>
<h:head>
DETG0001_WEB
<h:outputStylesheet library=“css” name=“main.css” />
</h:head>
<h:body>
<h:form>
<h:panelGrid id="pnlgBtn"
style="background-color: #3672B3; width: 50%;" cellspacing="5"
columns="2">
<p:commandButton id="cmdLimpar" action="inserirPessoa"
value="#{msgs.LIMPAR}" />
<p:commandButton id="cmdSalvar" action="inserirPessoa"
value="#{msgs.SALVAR}" />
</h:panelGrid>
<h:panelGrid id="pnlgCad"
style="background-color: #E4E9F0; width: 50%;" cellspacing="5"
columns="3">
<div>
<p:outputLabel id="otNome" value="#{msgs.FDO_NOME}" />
<p:inputText id="itNome" size="30" maxlength="30"
value="#{pessoaMB.pessoa.nmPessoa}" />
<p:message for="itNome" />
</div>
</h:panelGrid>
<h:panelGrid id="pnlgTab"
style="background-color: #E4E9F0; width: 50%;" cellspacing="5"
columns="1">
<p:dataTable id="tabelaPessoa" var="item"
value="#{pessoaMB.listaPessoa}">
<p:column id="clnAcoes" style="text-align: center;">
<f:facet name="header">
<h:outputText id="otAcoes" value="#{msgs.ACOES}" />
</f:facet>
<!-- Always save the id as hidden when you use a request scope MB -->
<h:inputHidden value="#{item.idPessoa}" />
<p:commandButton id="cmdAtualizar"
value="#{msgs.ATUALIZAR}">
<f:setPropertyActionListener
target="#{pessoaMB.pessoa}" value="#{item}" />
</p:commandButton>
<p:commandButton id="cmdExcluir"
value="#{msgs.EXCLUIR}">
<f:setPropertyActionListener
target="#{pessoaMB.pessoa}" value="#{item}" />
</p:commandButton>
</p:column>
<p:column>
<f:facet name="header">
<h:outputText id="otfNome" value="#{msgs.NOME}" />
</f:facet>
<p:outputLabel id="otcNome" value="#{item.nmPessoa}" />
</p:column>
</p:dataTable>
<!-- This button is displayed to the user, just to you see the error msg -->
</h:panelGrid>
</h:form>
</h:body>
[/code]Desde já, muito obrigado a todos!