You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2015/04/03 21:40:40 UTC
svn commit: r1671135 -
/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewAction.java
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();