[
https://issues.jboss.org/browse/RF-12976?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-12976:
---------------------------------
The issue is in that {{TogglePanelTagHandler}} calls
[{{addItemChangeListener}}|https://github.com/richfaces/richfaces5/blob/master/framework/src/main/java/org/richfaces/ui/toggle/TogglePanelTagHandler.java#L73]
method for each build of a view.
It adds {{FacesListener}} to the
[{{AttachedObjectListerHolder}}|http://grepcode.com/file/repo1.maven.org/maven2/org.glassfish/javax.faces/2.1.19/javax/faces/component/UIComponentBase.java#892]
in {{UIComponentBase}}.
Since the bound UITabPanel is stored in a view scope, the list of listeners grows with
each subsequent request for a same view.
----
This issue is larger and each of our change listeners should be checked for a same
problem.
rich:tabPanel using @binding: switching tabs invokes
itemChangeListener multiple times
--------------------------------------------------------------------------------------
Key: RF-12976
URL:
https://issues.jboss.org/browse/RF-12976
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.3.2
Environment: Apache Tomcat 7.0.34
Java(TM) SE Runtime Environment 1.7.0_21-b11 @ Linux
Firefox 18.0, IE9, IE10, Chrome 24
Metamer 4.3.2.20130510-Final
Reporter: Jiří Štefek
Labels: regression
Fix For: 4.3.2
Attachments: TabPanelBindingTest-4.3.0.Final.war
Regression against RichFaces 4.3.1.Final. (not working in 4.3.2.CR1|Final)
See steps to reproduce.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira