[
https://issues.jboss.org/browse/RF-12760?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-12760:
---------------------------------
This issue is caused by introducing tabbing based on {{ExtendedPartialViewContext}} and
partial response extensions (RF-12536).
This issue can be overcame as suggested in workaround.
Generally, you should prefer using {{a4j:ajax}} to {{f:ajax}}.
We will look into making them compatible in RF5 (you can vote for RF-12536).
I would include this change in 4.2 -> 4.3 migration notes.
rich:tabPanel does not work after ajax request
----------------------------------------------
Key: RF-12760
URL:
https://issues.jboss.org/browse/RF-12760
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.3.0.M2, 4.3.0.M3, 4.3.0.CR1, 4.3.0.CR2
Environment: RichFaces 4.3.0.CR2
Metamer 4.3.0-SNAPSHOT
Mojarra 2.1.7-jbossorg-2
JBoss AS 7.1.2.Final-redhat-1
Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
Chrome 24.0.1312.56 @ Linux x86_64
-----------------------------------------------------------
Windows 7 - Chrome 24.0.1312.56 / IE 9.
Mojarra 2.1.17
Richfaces 4.3.0.CR2
Reporter: Adelmo Erick santos
Assignee: Lukáš Fryč
Labels: regression
Fix For: 4.3.1
Original Estimate: 2 hours
Remaining Estimate: 2 hours
When I submit a ajax request in a h:commandButtom within a tab with f:ajax them the
tabPanel don´t switch tabs anymore. The problem is already reported in RF-10112. Sorry i´m
from Brazil and my english very bad.
{code}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j" >
<h:head>
</h:head>
<h:body>
<h:form>
<rich:tabPanel>
<rich:tab header="cash">
<h:commandButton value="Enter">
<f:ajax event="click" render="@form"/>
</h:commandButton>
</rich:tab>
<rich:tab header="creditCard">
<h:outputText value="Test"/>
</rich:tab>
</rich:tabPanel>
</h:form>
</h:body>
</html>
{code}
--
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