Author: abelevich
Date: 2007-10-02 13:09:50 -0400 (Tue, 02 Oct 2007)
New Revision: 3201
Modified:
trunk/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java
Log:
RF-1051, RF-843, RF-1032
Modified:
trunk/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java
===================================================================
---
trunk/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java 2007-10-02
17:09:12 UTC (rev 3200)
+++
trunk/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java 2007-10-02
17:09:50 UTC (rev 3201)
@@ -84,6 +84,7 @@
}
public void queueEvent(FacesEvent event) {
+
if (event instanceof SwitchablePanelSwitchEvent &&
this.equals(event.getComponent())) {
if (isImmediate()) {
event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
@@ -164,9 +165,9 @@
if (isImmediate()) {
validate(context);
- if (!isValid()) {
- context.renderResponse();
- }
+// if (!isValid()) {
+// context.renderResponse();
+// }
//UISwitchablePanel has a special behavior
//it stops processing after APPLY_REQUEST_VALUES phase
Show replies by date