[
https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Leathem updated RF-12765:
-------------------------------
Description:
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}
was:
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>
> 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.M3, 4.3.0.CR2
> 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
> {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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues