-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution:
Won't Fix
-
Affects Version/s: 4.1.0.Milestone3
-
Fix Version/s: None
-
Component/s: base functionality, component-output
-
Labels:None
-
Environment:
RichFaces 4.1.0.20111011-M3
Metamer 4.1.0-SNAPSHOT
Mojarra 2.1.3-SNAPSHOT
JBoss Web 7.0.2.Final
OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
Chrome 14.0.835.202 @ Linux i686
<a4j:commandButton id="doNothingButton" value="do nothing" render="tab2" /> <rich:tabPanel id="tabPanel" > <rich:tab id="tab1" name="tab1" header="tab1 header"> content of tab 1 </rich:tab> <rich:tab id="tab2" name="tab2" header="tab2 header"> content of tab 2 </rich:tab> <rich:tab id="tab3" name="tab3" header="tab3 header"> content of tab 3 </rich:tab> <rich:tab id="tab4" name="tab4" header="tab4 header" disabled="true"> content of tab 4 </rich:tab> <rich:tab id="tab5" name="tab5" header="tab5 header"> content of tab 5 </rich:tab> </rich:tabPanel>
- switch to tab 2, 3, 5, 1
- click the button
- switch to tab 2
result:
panel is not switched
Sometimes the following error appears in Chrome console:
Uncaught TypeError: Cannot read property 'disabled' of undefined togglePanel.js:78
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemIndex togglePanel.js:78
B.ui.TogglePanel.B.BaseComponent.extendClass.__getItemByName togglePanel.js:87
B.ui.TogglePanel.B.BaseComponent.extendClass.getNextItem togglePanel.js:46
B.ui.TogglePanel.B.BaseComponent.extendClass.switchToItem togglePanel.js:36
A.ui.Tab.A.ui.TogglePanelItem.extendClass.__onHeaderClick tab.js:7
getHandlerWrapper js:38
jQuery.event.handle js:2965
jQuery.event.add.elemData.handle.eventHandle js:2599
- is related to
-
RF-11448 tabPanel activeItem not working syncrhonously with bean.activeItem
-
- Resolved
-