[richfaces-issues] [JBoss JIRA] (RF-12025) [rich:tabPanel] Switching tabs doesn't work correctly
Artur Mioduszewski (JIRA)
jira-events at lists.jboss.org
Tue Mar 6 19:54:40 EST 2012
Artur Mioduszewski created RF-12025:
---------------------------------------
Summary: [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.2.0.Final, 4.1.0.Final
Environment: JDK1.6,
JBoss 6.0.Final,
richfaces 4.1.0.Final/4.2.0.Final
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
More information about the richfaces-issues
mailing list