[
https://issues.jboss.org/browse/RF-12760?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12760:
-------------------------------
Description:
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}
was:
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.
<!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>
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.CR2
Environment: Windows 7 - Chrome 24.0.1312.56 / IE 9.
Mojarra 2.1.17
Richfaces 4.3.0.CR2
Reporter: Adelmo santos
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