[richfaces-issues] [JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present

Tali Han (JIRA) jira-events at lists.jboss.org
Thu Feb 21 19:17:56 EST 2013


    [ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755876#comment-12755876 ] 

Tali Han commented on RF-12765:
-------------------------------

1. To build with Mojarra (default):

mvn package
jars in WEB-INF/lib javax.faces-2.1.17.jar.
                Tab panel doesn't work.

2. To build it with Myfaces:

mvn -Djsf_profile=myfaces

                    Tab panel works.

Jars in WEB-INF/lib: myfaces-api-2.1.10.jar  myfaces-impl-2.1.10.jar
                
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
>                 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.M3, 4.3.0.CR2
>         Environment: Linux, windows any browser Chrom, Mozilla
>            Reporter: Tali Han
>            Assignee: Brian Leathem
>             Fix For: 4.3.1
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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
> {code}
>  <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>
> {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


More information about the richfaces-issues mailing list