A4J:poll EmptyResponse (Resposta Vazia)

0 respostas
maxdavis

Pessoal! Estou usando o componente a4j:poll e está funcionando quase 100% ele renderiza tranquilo, mas o meu problema é quando alguns minutos depois que a tela é aberta e depois de fazer várias renderização ele aperece um popup pequeno com a frase "EmptyResponse"(Resposta Vazia), já fiz vários debugs e nd. segue o meu código abaixo:

xhtml
<?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:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"> 

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title></title>
	
		<link rel="shortcut icon" href="../../imagens/geral/favicon.ico" type="image/x-icon" />		
		<link rel="stylesheet" href="../../estilos/estilo.css" type="text/css" />
		<script src="../../scripts/mascaraCampos.js" type="text/javascript" language="javascript"></script>
		<script src="../../scripts/validacao.js" type="text/javascript" language="javascript"></script>
		<script src="../../scripts/geral.js" type="text/javascript" language="javascript"></script>
		<script src="../../scripts/prototype.js" type="text/javascript" language="javascript"></script>
 		<script src="../../scripts/scriptaculous.js?load=effects" type="text/javascript" language="javascript"></script>
 		
</h:head>
<body>
 	
      <h:form>
		<a4j:poll id="poll"  action="#{painelBean.carregarPainel}"  reRender="poll,tabela1,tabela2,messagePanel"
		  interval="1000" enabled="#{painelBean.pollEnabled}">
		</a4j:poll>
	  </h:form>
	
<div id="geral_painel_body">
	
<div id="geral_painel">
	
	<div id="topo_painel">
		<h:graphicImage value="/imagens/geral/topo_painel.png"/>
	</div>
	<a4j:outputPanel  style="cursor:pointer" ajaxRendered="true" id="messagePanel"> 
	<h:form> 
	<div id="cont_painel_ultimo">
	
               <h:dataTable id="tabela1" value="#{painelBean.listaPacientesGuicheChamado}" var="painelChamado" styleClass="tablepainelchamado" >
						<h:column style="width: 117px; height: 106px;">
  							 <p class="guiche">
  							 <br/> <br/> <br/> <br/>
  								<span><blink> <h:outputText value="#{painelChamado.guiche}"  /></blink></span>
	                         </p>
						</h:column>
						<h:column style="width: 117px; height: 106px;">
  							 <p class="ficha">
  							 <br/> <br/> <br/> <br/>
  								<span> <blink><h:outputText value="#{painelChamado.ficha}"  /></blink></span>
	                         </p>
						</h:column>
						<h:column style="width: 708px; height: 106px;">
  							 <p class="paciente">
  							 <br/> <br/> <br/> <br/>
  								<span><blink> <h:outputText value="#{painelChamado.nomePaciente}"  /></blink></span>
	                         </p>
						</h:column>
                 </h:dataTable>
            
	</div>
	
	<div id="cont_painel_ultimo_lista">
                    <h:dataTable id="tabela2" value="#{painelBean.listaPacientesGuiche}" var="painel" styleClass="tablepainel">
						<h:column style="width: 116px; height: 106px;">
  							 <p class="guiche">
  							 <br/> <br/> <br/>
  								<span><h:outputText value="#{painel.guiche}"  /></span>
	                         </p>
						</h:column>
						<h:column style="width: 117px; height: 106px;">
  							 <p class="ficha">
  							 <br/> <br/> <br/>
  								<span> <h:outputText value="#{painel.ficha}"  /></span>
	                         </p>
						</h:column>
						<h:column style="width: 708px; height: 106px;">
  							 <p class="paciente">
  							 <br/> <br/> <br/>
  								<span> <h:outputText value="#{painel.nomePaciente}"  /></span>
	                         </p>
						</h:column>
                    </h:dataTable>
	</div>
	</h:form> 
	</a4j:outputPanel>
	
	
	</div>
	 
</div>
	</body>
</html>
Criado 12 de setembro de 2011
Respostas 0
Participantes 1