Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
1.1.5-SNAPSHOT
-
None
-
None
-
WinXP, JDK 1.5, JBoss 4.0.4 GA, Facelets
Description
The following works fine:
<t:panelTabbedPane styleClass="panelTabbedPane"
activeTabStyleClass="activeTab" inactiveTabStyleClass="inactiveTab"
tabContentStyleClass="tabContent"
selectedIndex="3"
disabledTabStyleClass="inactiveTab" serverSideTabSwitch="false">
<t:panelTab id="tab1" label="Tab 1">
<ui:include src="/Tab1.xhtml" />
</t:panelTab>
<t:panelTab id="tab2" label="Tab 2">
<ui:include src="/Tab2.xhtml" />
</t:panelTab>
<t:panelTab id="tab3" label="Tab 3">
<ui:include src="/Tab3.xhtml" />
</t:panelTab>
</t:panelTabbedPane>
I.e. the tab tab3 is visible when the tabbed pane is rendered. But if I set selectedIndex="#
{myBean.selectedTabIndex}" then tab1 is always visible first, regardless of the value of myBean.selectedTabIndex
Attachments
Attachments
Issue Links
- relates to
-
TOMAHAWK-543 The wrong tab may be displayed after a validation failure and serverSiteTabSwitch="false"
- Closed