]
Jan Papousek closed RF-12765.
-----------------------------
Closing. As I understand the discussion. The issue isn't solved, but the samples were
updated according to the specification.
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, 4.3.0.Final, 4.3.1
Environment: Linux, windows any browser Chrom, Mozilla
Reporter: Tali Han
Assignee: Lukáš Fryč
Fix For: 4.3.2
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: