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-1096 project-stage bridge for jsf
Date Mon, 21 Mar 2016 13:56:16 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 53da24237 -> 495aa0bf4


DELTASPIKE-1096 project-stage bridge for jsf


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

Branch: refs/heads/master
Commit: 495aa0bf411a3585e9d0f1fb63cfcb873ad7048f
Parents: 53da242
Author: gpetracek <gpetracek@apache.org>
Authored: Mon Mar 21 14:51:36 2016 +0100
Committer: gpetracek <gpetracek@apache.org>
Committed: Mon Mar 21 14:51:36 2016 +0100

----------------------------------------------------------------------
 .../jsf/impl/listener/request/DeltaSpikeFacesContextWrapper.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/495aa0bf/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeFacesContextWrapper.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeFacesContextWrapper.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeFacesContextWrapper.java
index 3ee00dd..7e795ea 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeFacesContextWrapper.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeFacesContextWrapper.java
@@ -187,9 +187,9 @@ class DeltaSpikeFacesContextWrapper extends FacesContextWrapper
                 this.projectStage = ProjectStage.Development;
             }
 
-            if (this.projectStage == null)
+            if (this.projectStage == ProjectStage.Production)
             {
-                this.projectStage = ProjectStage.Production;
+                this.projectStage = null; //reset it to force the delegation to the default
handling
             }
 
             this.initialized = true;


Mime
View raw message