myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r500322 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java
Date Fri, 26 Jan 2007 20:08:55 GMT
Author: weber
Date: Fri Jan 26 12:08:55 2007
New Revision: 500322

URL: http://svn.apache.org/viewvc?view=rev&rev=500322
Log:
TOBAGO-260 (Components inside TabGroup inherits immediate value from TabGroup)

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java?view=diff&rev=500322&r1=500321&r2=500322
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java
Fri Jan 26 12:08:55 2007
@@ -85,10 +85,12 @@
   }
 
   public void queueEvent(FacesEvent event) {
-    if (isImmediate()) {
-      event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
-    } else {
-      event.setPhaseId(PhaseId.INVOKE_APPLICATION);
+    if (this == event.getSource()) {      
+      if (isImmediate()) {
+        event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
+      } else {
+        event.setPhaseId(PhaseId.INVOKE_APPLICATION);
+      }
     }
     super.queueEvent(event);
   }



Mime
View raw message