[ https://issues.jboss.org/browse/RF-11474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642184#comment-12642184 ]
Brian Leathem edited comment on RF-11474 at 11/11/11 12:57 PM: --------------------------------------------------------------- Any errors in the server log? Possibly related to: http://community.jboss.org/thread/174739 Jira issue filed: RF-11680 was (Author: bleathem): Any errors in the server log? Possibly related to: http://community.jboss.org/thread/174739 > [rich:tabPanel] Switching tabs doesn't work correctly > ----------------------------------------------------- > > Key: RF-11474 > URL: https://issues.jboss.org/browse/RF-11474 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) > Components: base functionality , component-panels-layout-themes > Affects Versions: 4.1.0.Milestone2 > Environment: Tomcat6, Firefox 7, IE 8, myfaces 2.1.3 > Reporter: Rene O > Assignee: Lukáš Fryč > Labels: myfaces > Fix For: 4.1.0.CR1 > > Attachments: jsftest.war > > > Switching tabs client-side (by clicking the tabs) breaks changing tabs server > side (by clicking the a4j:commandButtons). > {code:title=tabtest.xhtml} > <!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:ui="http://java.sun.com/jsf/facelets" > xmlns:a4j="http://richfaces.org/a4j" > xmlns:rich="http://richfaces.org/rich"> > > <h:head> > <title>Tabpanel Test</title> > </h:head> > > <h:body> > Switching tabs doesn't work correct. > <br/><br/> > Steps to reproduce the issue: > <br/> > 1. switch tabs with the commandButtons -> everything works > normal > <br/> > 2. switch tabs via click on the tabs itself -> everything works > normal > <br/> > 3. now switch tabs with the commandButtons again -> tabs are > not switching anymore > <br/><br/> > <h:form id="testform"> > <rich:tabPanel id="tabpanel" switchType="ajax" > activeItem="#{dataBean.activeTab}"> > <rich:tab id="tab1" header="First"> > Here is tab #1 > </rich:tab> > <rich:tab id="tab2" header="Second"> > Here is tab #2 > </rich:tab> > <rich:tab id="tab3" header="Third"> > Here is tab #3 > </rich:tab> > </rich:tabPanel> > <br/><br/> > <a4j:commandButton id="but1" value="go to tab1" > action="#{dataCtr.goToTab1}" execute="@this" render="tabpanel"/> > <br/><br/> > <a4j:commandButton id="but2" value="go to tab2" > action="#{dataCtr.goToTab2}" execute="@this" render="tabpanel"/> > <br/><br/> > <a4j:commandButton id="but3" value="go to tab3" > action="#{dataCtr.goToTab3}" execute="@this" render="tabpanel"/> > </h:form> > > <br/><br/> > extra information: > <br/> > DataCtr.java > <br/> > public void goToTab1(){ > <br/> > dataBean.setActiveTab("tab1"); > <br/> > } ... > > </h:body> > </html> > {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 _______________________________________________ richfaces-issues mailing list richfaces-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/richfaces-issues