myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1671135 - /myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewAction.java
Date Fri, 03 Apr 2015 19:40:40 GMT
Author: lu4242
Date: Fri Apr  3 19:40:39 2015
New Revision: 1671135

URL: http://svn.apache.org/r1671135
Log:
MYFACES-3976 f:viewAction phase attribute reverts to INVOKE_APPLICATION

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

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewAction.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewAction.java?rev=1671135&r1=1671134&r2=1671135&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewAction.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewAction.java Fri Apr 
3 19:40:39 2015
@@ -193,27 +193,6 @@ public class UIViewAction extends UIComp
         context.getAttributes().put(EVENT_COUNT_KEY, count);
     }
 
-    @Override
-    public void queueEvent(FacesEvent event)
-    {
-        if (event != null && event instanceof ActionEvent)
-        {
-            UIComponent component = event.getComponent();
-            if (component instanceof ActionSource)
-            {
-                if (((ActionSource)component).isImmediate())
-                {
-                    event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
-                }
-                else
-                {
-                    event.setPhaseId(PhaseId.INVOKE_APPLICATION);
-                }
-            }
-        }
-        super.queueEvent(event);
-    }
-    
     public MethodBinding getAction()
     {
         MethodExpression actionExpression = getActionExpression();



Mime
View raw message