[richfaces-issues] [JBoss JIRA] Updated: (RF-6591) poll, push: enabled property evaluated with rich:findComponent problem

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Mar 24 11:15:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-6591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-6591:
-------------------------------

    Fix Version/s: Future


> poll, push: enabled property evaluated with rich:findComponent problem
> ----------------------------------------------------------------------
>
>                 Key: RF-6591
>                 URL: https://jira.jboss.org/jira/browse/RF-6591
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Ilya Shaikovsky
>            Assignee: Nick Belaevski
>            Priority: Optional
>             Fix For: Future
>
>
> 		<a4j:push interval="1000" eventProducer="#{push.addListener}"
> 			reRender="push,out" enabled="#{rich:findComponent('tabs').value=='second'}" id="push"/>
> 		<a4j:poll interval="1000"
> 			reRender="push,out" enabled="#{rich:findComponent('tabs').value=='second'}" id="poll"/>
> 		<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>
> for this code I should switch tab to second in order to start poll. But actually it doesn't start after switching tabs. But if I switch to second then switch back to ferst and then finally again to second it starts. The same for disabling. It not disabled when tab leaved. you should again switch tabs three times to disable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list