Author: nbelaevski
Date: 2008-04-17 19:19:00 -0400 (Thu, 17 Apr 2008)
New Revision: 7912
Modified:
branches/3.1.x/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java
Log:
http://jira.jboss.com/jira/browse/RF-3091
Modified:
branches/3.1.x/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java
===================================================================
---
branches/3.1.x/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java 2008-04-17
22:39:14 UTC (rev 7911)
+++
branches/3.1.x/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java 2008-04-17
23:19:00 UTC (rev 7912)
@@ -120,7 +120,7 @@
setValue(newValue);
}
- if (AjaxRendererUtils.isAjaxRequest(facesContext) &&
this.getSwitchType().equals(AJAX_METHOD)) {
+ if (AjaxRendererUtils.isAjaxRequest(facesContext) &&
AJAX_METHOD.equals(this.getSwitchType())) {
AjaxRendererUtils.addRegionByName(facesContext,
this,
this.getId());