Author: sergeyhalipov
Date: 2007-06-04 13:41:58 -0400 (Mon, 04 Jun 2007)
New Revision: 1004
Modified:
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-188
Modified:
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java
===================================================================
---
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java 2007-06-04
16:52:20 UTC (rev 1003)
+++
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabPanelRendererBase.java 2007-06-04
17:41:58 UTC (rev 1004)
@@ -185,7 +185,8 @@
value = null;
}
}
- if (value == null) {
+ if (value == null ||
+ tabPanel.getSelectedTab() != null) {
value = tabPanel.getSelectedTab();
}
boolean useFirstRenderedTab = value == null;