-
1. Re: RF4 a4j:poll works only once with IE8
mcmurdosound May 30, 2012 1:50 AM (in response to mn3)Hmmm in RF3 you had to add the poll to the list of (re)rendered elements as well.
Can you open the developer console of the IE? IE9 should have this - I am not sure about IE 8 or older. There could be some javascript errors logged. You can also keep attention if there are any POSTs every six seconds. The developer console has also the ability to switch between different emulation types: ie7 - ie9 and document types. Trail'n'Error....
-
2. Re: RF4 a4j:poll works only once with IE8
mn3 Jun 20, 2012 3:37 AM (in response to mcmurdosound)I checked the developer console but only the first time a POST is sended. Nothing hapens the second time. I added also the poll-ID to the render attribute. But nothing changed.
My current example:
<a4j:poll id="poll" interval="4000" render="poll"
enabled="true"
ontimer="#{rich:component('suchPopup')}.show(); window['refresh'](); return false;" />
The funny thing is that the first time the popup opens and a POST is send and the second time the popup opens but no POST is send and the method refresh is not called.
-
3. Re: RF4 a4j:poll works only once with IE8
mn3 Jun 20, 2012 3:50 AM (in response to mn3)Haa, this works now:
<a4j:poll id="poll" interval="4000" render="poll @form"
enabled="true"
ontimer="#{rich:component('suchPopup')}.show();"
action="#{nctsMonitorModel.suchen()}"
oncomplete="#{rich:component('suchPopup')}.hide();" />
-
4. Re: RF4 a4j:poll works only once with IE8
mcmurdosound Jun 20, 2012 1:58 PM (in response to mn3)Oh somebody who speaks german - Greetings from Marburg, Germany :-)