Não foi possível encontrar o componente com a ID nome na exibição. - nao aparece <p:inputText

1 resposta
E

Pessoal,

nao fiz nenhuma alteração , e de ontem para hoje, esta saindo um layout desconfigurado nao aparece o <p:inputText e no console da o seguinte AVISO :

10/10/2012 11:45:05 javax.faces.FactoryFinder$FactoryManagerCacheKey
AVISO: Multiple JSF Applications found on same ClassLoader. Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
10/10/2012 11:45:05 javax.faces.FactoryFinder$FactoryManagerCacheKey
AVISO: Multiple JSF Applications found on same ClassLoader. Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
10/10/2012 11:45:06 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
AVISO: Não foi possível encontrar o componente com a ID cpf na exibição.
10/10/2012 11:45:06 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
AVISO: Não foi possível encontrar o componente com a ID nome na exibição.
10/10/2012 11:48:37 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
AVISO: Não foi possível encontrar o componente com a ID cpf na exibição.
10/10/2012 11:48:37 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
AVISO: Não foi possível encontrar o componente com a ID nome na exibição.
10/10/2012 11:49:50 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
AVISO: Não foi possível encontrar o componente com a ID cpf na exibição.
10/10/2012 11:49:50 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
AVISO: Não foi possível encontrar o componente com a ID nome na exibição.

Alguem pode me ajudar por favor ?

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!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:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<title>Cadastro</title>
</h:head>
<h:body>


	<h:form  id="form">
  

    <p:panel id="panel" header="Cadastro">  
    <p:messages id="msgs"/>         
		<h:panelGrid columns="2" cellpadding="2">     
				<h:outputLabel for="cpf" value="Cpf:"/>
				<p:inputMask id="cpf" mask="[CPF removido]" value="#{BeanCliente.cliente.CPF}" required="true" label="Cpf" requiredMessage="CPF é obrigatorio"/>
				
				
    			<h:outputLabel value="Senha:"/>
    			<p:keyboard password="true" keypadOnly="true" value="#{BeanCliente.cliente.senha}"/>



		        <h:outputLabel for="nome" value="Nome" />
				<p:inputText id="nome" value="#{BeanCliente.cliente.nome}" required="true" label="Nome" requiredMessage="NOME é obrigatorio"/>			
				
				
				<h:outputLabel value="Data Cadastro"/>
				<p:calendar value="#{BeanCliente.cliente.datacadastro}"/>
				
				<h:outputLabel value="Observações"/>
				<p:inputTextarea value="#{BeanCliente.cliente.observacao}"/>

    			<h:outputLabel value="Descrição:"/>
    			<p:keyboard layout="qwertyBasic" value="#{BeanCliente.cliente.descricao}"/>
    			
				 
						
		 </h:panelGrid>  

		<p:commandButton id="btn" value="Salvar" update="panel" actionListener="#{BeanCliente.Salvar}">		
		</p:commandButton>
		
	
      </p:panel>  
      
      
	</h:form>
	
</h:body>
</html>

1 Resposta

H

Se você fez alteração ontem, pode ser que esse erro não apareceu por problema com cache.

Esse erro é pq não está localizando um componente. tente localizar pelo caminho completo :NOME_DO_FORM:NOME_DE_ALGUM_PANEL_DATATABLE:NOME_DO_COMPONENTE

Criado 10 de outubro de 2012
Ultima resposta 10 de out. de 2012
Respostas 1
Participantes 2