[richfaces-issues] [JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs

Tali Han (JIRA) jira-events at lists.jboss.org
Tue Jan 29 16:40:47 EST 2013


Tali Han created RF-12765:
-----------------------------

             Summary: Rich:tabPanel  not possible to switch tabs
                 Key: RF-12765
                 URL: https://issues.jboss.org/browse/RF-12765
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-output
    Affects Versions: 4.3.0.CR2, 4.3.0.M3
         Environment: Linux, windows any browser Chrom, Mozilla
            Reporter: Tali Han


Rih:Tab panel functionality is broken. 
If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.

Remove from example that comes with richfaces distribution first static tab  for dynamic tabs and you'll be able to reproduce this behaviour.
richfaces/tabPanel/samples/dynamic-sample.xhtml
 <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
           <ui:remove>
            <rich:tab header="Static">
                <p>This tab is static one.</p>
               
                <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
            </rich:tab>
            </ui:remove>
            <a4j:repeat value="#{skinBean.skins}" var="skinName">
           
                <rich:tab header="#{skinName}" name="#{skinName}">
                    <f:facet name="header">#{skinName}</f:facet>

                    <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
                    <hr />
                    <h:form>

--
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


More information about the richfaces-issues mailing list