myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r501845 - /myfaces/core/trunk/api/src/main/java/javax/faces/component/UICommand.java
Date Wed, 31 Jan 2007 13:54:23 GMT
Author: weber
Date: Wed Jan 31 05:54:23 2007
New Revision: 501845

URL: http://svn.apache.org/viewvc?view=rev&rev=501845
Log:
MYFACES-1525 (actions of UICommand could execute in wrong phase)

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/component/UICommand.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/UICommand.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/UICommand.java?view=diff&rev=501845&r1=501844&r2=501845
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/UICommand.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/UICommand.java Wed Jan 31 05:54:23
2007
@@ -113,7 +113,7 @@
 
     public void queueEvent(FacesEvent event)
     {
-        if (event != null && event instanceof ActionEvent)
+        if (event != null && this == event.getSource() && event instanceof
ActionEvent)
         {
             if (isImmediate())
             {



Mime
View raw message