This content has been marked as final.
Show 2 replies
-
1. Re: a4j:push and rich:tabPanel
ilya_shaikovsky Mar 24, 2009 9:52 AM (in response to atulkc)<a4j:push interval="1000" eventProducer="#{push.addListener}" reRender="push,out" enabled="#{userBean.name=='second'}" id="push"/> <rich:tabPanel id="tabs" switchType="ajax" selectedTab="#{userBean.name}"> <rich:tab name="first" label="first" reRender="push,poll"> <h:outputText value="push inactive" /> </rich:tab> <rich:tab name="second" label="second" reRender="push,poll"> <h:outputText value="push active" /> </rich:tab> </rich:tabPanel>
such conditionally enabled push will works as you need. -
2. Re: a4j:push and rich:tabPanel
atulkc Mar 24, 2009 12:47 PM (in response to atulkc)Thanks Ilya.
I was having a4j:push tag inside the rich:tab in stead of outside as you have shown in the code sample. Would including the a4j:push tag inside rich:tab, which can be active or in-active, can also result in intermittent re rendering issues I was facing earlier; here is the link to the earlier post:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205743#4205743