Author: d.bulahov
Date: 2007-03-07 05:55:45 -0500 (Wed, 07 Mar 2007)
New Revision: 31
Modified:
trunk/richfaces/common/src/main/java/org/richfaces/component/UISwitchablePanel.java
Log:
RFA-232 fixed
Modified:
trunk/richfaces/common/src/main/java/org/richfaces/component/UISwitchablePanel.java
===================================================================
---
trunk/richfaces/common/src/main/java/org/richfaces/component/UISwitchablePanel.java 2007-03-07
10:47:22 UTC (rev 30)
+++
trunk/richfaces/common/src/main/java/org/richfaces/component/UISwitchablePanel.java 2007-03-07
10:55:45 UTC (rev 31)
@@ -120,7 +120,7 @@
setValue(newValue);
}
- if (AjaxRendererUtils.isAjaxRequest(facesContext)) {
+ if (AjaxRendererUtils.isAjaxRequest(facesContext) &&
this.getSwitchType().equals(AJAX_METHOD)) {
AjaxRendererUtils.addRegionByName(facesContext,
this,
this.getId());
Show replies by date