[richfaces-issues] [JBoss JIRA] Created: (RF-6591) poll, push: enabled property evaluated with rich:findComponent problem
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Tue Mar 24 09:51:22 EDT 2009
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
<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