deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject deltaspike git commit: DELTASPIKE-881 aligned invocation order of @PreRenderView with jsf
Date Sat, 25 Apr 2015 15:35:14 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 5a9d6262d -> 50331d0fd


DELTASPIKE-881 aligned invocation order of @PreRenderView with jsf


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/50331d0f
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/50331d0f
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/50331d0f

Branch: refs/heads/master
Commit: 50331d0fd5c29b9539a459b5af95c1f4f7693beb
Parents: 5a9d626
Author: gpetracek <gpetracek@apache.org>
Authored: Sat Apr 25 17:30:18 2015 +0200
Committer: gpetracek <gpetracek@apache.org>
Committed: Sat Apr 25 17:32:22 2015 +0200

----------------------------------------------------------------------
 .../jsf/impl/listener/phase/DeltaSpikePhaseListener.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/50331d0f/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/phase/DeltaSpikePhaseListener.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/phase/DeltaSpikePhaseListener.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/phase/DeltaSpikePhaseListener.java
index c5c0672..adda43a 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/phase/DeltaSpikePhaseListener.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/phase/DeltaSpikePhaseListener.java
@@ -74,13 +74,13 @@ public class DeltaSpikePhaseListener implements PhaseListener, Deactivatable
 
         processInitView(phaseEvent);
 
+        //delegate to JsfRequestLifecyclePhaseListener as a last step
+        this.jsfRequestLifecyclePhaseListener.beforePhase(phaseEvent);
+
         if (PhaseId.RENDER_RESPONSE.equals(phaseEvent.getPhaseId()))
         {
             onBeforeRenderResponse(phaseEvent.getFacesContext());
         }
-
-        //delegate to JsfRequestLifecyclePhaseListener as a last step
-        this.jsfRequestLifecyclePhaseListener.beforePhase(phaseEvent);
     }
 
     private void onBeforeRenderResponse(FacesContext facesContext)


Mime
View raw message