[
https://issues.jboss.org/browse/RF-12025?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12025:
-------------------------------
Fix Version/s: 4.Future
[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)
Components: component-panels-layout-themes
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
Fix For: 4.Future
Every tab switching caused more (perhaps 2 times more) calling of
logger.debug("----preRenderHomeView");
{code:title=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>
{code}
{code:title="HomeAction"}
public void preRenderHomeView() {
logger.debug("----preRenderHomeView");
}
{code}
--
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