voyent
Ajax Push continuos empty updates on ICEfaces 1.8.2  XML
Forum Index -> General Help
Author Message
bnsbr

Joined: 19/Oct/2009 00:00:00
Messages: 9
Offline


Hi all,

We are building one stock price watch application using ICEfaces ajax push features. During the development we found a strange behavior with some components (ice:menuBar, ice:popupPanel, ice:selectInputText).

ICEFaces is sending push updates to the client even when the "model" (managed beans to which those components attributes have some assignment) isn't updated.

We use another ICEfaces components (ice:dataTable, ice:panelGrid, ice:inputText, ...) in the application and they are updated correctly (only when the "model" beans are updated).

Bellow are some samples of the response of the http requests showing this issue:

Code:
 
 <updates>
 	<update address="z9pOd8o_-3lqo1_97BHtig:1:dynamic-code" tag="script">
 		<attribute name="id"><![CDATA[z9pOd8o_-3lqo1_97BHtig:1:dynamic-code]]></attribute>
 		<attribute name="type"><![CDATA[text/javascript]]></attribute>
 		<content><![CDATA[ new Ice.Autocompleter('iceTableListaCart:0:j_id51','iceTableListaCart:0:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:1:j_id51','iceTableListaCart:1:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:2:j_id51','iceTableListaCart:2:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:3:j_id51','iceTableListaCart:3:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:4:j_id51','iceTableListaCart:4:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:5:j_id51','iceTableListaCart:5:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow');Ice.DnD.adjustPosition('draggablePnlPop');new Draggable('draggablePnlPop',{handle:'draggablePnlPopHandle',dragGhost:false,dragCursor:false,ghosting:false,revert:false,mask:'1,4,5'});Ice.autoPosition.stop('draggablePnlPop');Ice.autoCentre.start('draggablePnlPop');Ice.iFrameFix.start('draggablePnlPop','/hbk/xmlhttp/blank');//-1820364989]]></content>
 	</update>
 </updates>
 
 
 <updates>
 	<update address="z9pOd8o_-3lqo1_97BHtig:1:dynamic-code" tag="script">
 		<attribute name="id"><![CDATA[z9pOd8o_-3lqo1_97BHtig:1:dynamic-code]]></attribute>
 		<attribute name="type"><![CDATA[text/javascript]]></attribute>
 		<content><![CDATA[ new Ice.Autocompleter('iceTableListaCart:0:j_id51','iceTableListaCart:0:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:1:j_id51','iceTableListaCart:1:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:2:j_id51','iceTableListaCart:2:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:3:j_id51','iceTableListaCart:3:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:4:j_id51','iceTableListaCart:4:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow'); new Ice.Autocompleter('iceTableListaCart:5:j_id51','iceTableListaCart:5:j_id51_div', null ,'iceSelInpTxtRow','iceSelInpTxtSelRow');Ice.DnD.adjustPosition('draggablePnlPop');new Draggable('draggablePnlPop',{handle:'draggablePnlPopHandle',dragGhost:false,dragCursor:false,ghosting:false,revert:false,mask:'1,4,5'});Ice.autoPosition.stop('draggablePnlPop');Ice.autoCentre.start('draggablePnlPop');Ice.iFrameFix.start('draggablePnlPop','/hbk/xmlhttp/blank');//-746056957]]></content>
 	</update>
 </updates>
 
 


Has someone already seen this behavior?

I have attached a screen capture of FireBug showing the requests.

The environment we are using:

Browser: Firefox 3.6.4

IceFaces 1.8.2

JBoss Seam 2.2.0

JVM:
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14)

AppServer: WebLogic Server Version: 10.3.2.0 (11g)

Server: SunOS server-bea 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-15000


Anyone can help? Thanks in advance!
[Thumb - HTTPRequests.jpg]
 Filename HTTPRequests.jpg [Disk] Download
 Description Firebug window showing http requests.
 Filesize 284 Kbytes
 Downloaded:  202 time(s)

 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team