This content has been marked as final.
Show 3 replies
-
1. Re: Disable Push (RF4.2 a4j:push)
bleathem Nov 4, 2013 1:19 PM (in response to alegem)If you put it in a conditionally rendered panelGroup are you more successful?
-
2. Re: Disable Push (RF4.2 a4j:push)
alegem Nov 5, 2013 1:03 AM (in response to bleathem)Hi Brian,
thats what a tried originally. Sometimes it's working after a couple of seconds, sometimes not.
<h:panelGroup rendered="true">
<h:selectBooleanCheckbox value="#{controller.pushEnabled}" >
<a4j:ajax event="click" render="pushPanel" />
</h:selectBooleanCheckbox>
<h:outputLabel value="Update page:" />
</h:panelGroup>
<h:panelGroup id="pushPanel">
<a4j:push address="resPush" onerror="alert(event.rf.data)" rendered="#{controller.pushEnabled}">
<a4j:ajax event="dataavailable" render="table" />
</a4j:push>
</h:panelGroup>
alegem
-
3. Re: Disable Push (RF4.2 a4j:push)
bleathem Nov 6, 2013 3:40 PM (in response to alegem)Any messages in your browser console or in your sever log? See this post on debugging RichFaces: