[
https://issues.jboss.org/browse/RF-12025?page=com.atlassian.jira.plugin.s...
]
Artur Mioduszewski updated RF-12025:
------------------------------------
Environment:
JDK1.6,
JBoss 6.0.Final,
richfaces 4.1.0.Final/4.2.0.Final
IE 9
was:
JDK1.6,
JBoss 6.0.Final,
richfaces 4.1.0.Final/4.2.0.Final
[rich:tabPanel] Switching tabs doesn't work correctly
-----------------------------------------------------
Key: RF-12025
URL:
https://issues.jboss.org/browse/RF-12025
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.1.0.Final, 4.2.0.Final
Environment: JDK1.6,
JBoss 6.0.Final,
richfaces 4.1.0.Final/4.2.0.Final
IE 9
Reporter: Artur Mioduszewski
STEPS TO REPRODUCE A PROBLEM:
1. Switch tab: UserDataTab -> UserEmailTab (look on JBoss console)
2. Switch tab: UserEmailTab -> UserDataTab (look on JBoss console)
3. Switch tab: UserDataTab -> UserEmailTab (look on JBoss console)
4. Switch tab: UserEmailTab -> UserDataTab (look on JBoss console)
5. Switch tab: UserDataTab -> UserEmailTab (look on JBoss console)
6. Switch tab: UserEmailTab -> UserDataTab (look on JBoss console)
...
Every tab switching caused more (perhaps 2 times more) calling of
logger.debug("----preRenderHomeView");
==============================================================================================================================
------------------------- XHTML FILE CODE EXTRACT:
---------------------------------------------------------------------------
<ui:define name="metadata">
<f:metadata>
<f:event type="preRenderView"
listener="#{homeAction.preRenderHomeView}"/>
</f:metadata>
</ui:define>
<rich:tabPanel id="homeUserTabs" switchType="ajax"
activeItem="#{homeAction.selectedUserHomeTab}"
itemChangeListener="#{homeAction.selectedUserHomeTabChanged}"
immediate="true">
<rich:tab header="#{bundles.messages.tab_userMyDataTab}"
id="UserDataTab" render="ajaxFlowPanel">
<ui:include
src="/WEB-INF/content-pages/userAccount/userAccountDataTab.xhtml"/>
</rich:tab>
<rich:tab header="#{bundles.messages.tab_userEmailTab}"
id="UserEmailTab" render="ajaxFlowPanel">
<ui:include
src="/WEB-INF/content-pages/userAccount/userEmailDataTab.xhtml"/>
</rich:tab>
</rich:tabPanel>
--------------------------------------------------------------------------------------------------------
HomeAction:
public void preRenderHomeView()
{
logger.debug("----preRenderHomeView");
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira