deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [1/2] git commit: DELTASPIKE-454 cosmetics
Date Thu, 09 Jan 2014 13:15:18 GMT
Updated Branches:
  refs/heads/master 85bbd3c05 -> f4bada5b4


DELTASPIKE-454 cosmetics

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

Branch: refs/heads/master
Commit: d64c6d5b5da15e3ba3ee6dd6f18b3f11415bbbcd
Parents: 9133bc4
Author: Thomas Andraschko <andraschko@Dev-4.ifvuf.de>
Authored: Thu Jan 9 14:14:40 2014 +0100
Committer: Thomas Andraschko <andraschko@Dev-4.ifvuf.de>
Committed: Thu Jan 9 14:14:40 2014 +0100

----------------------------------------------------------------------
 .../impl/listener/request/DeltaSpikeExternalContextWrapper.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/d64c6d5b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeExternalContextWrapper.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeExternalContextWrapper.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeExternalContextWrapper.java
index d5e039b..6b741e8 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeExternalContextWrapper.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/request/DeltaSpikeExternalContextWrapper.java
@@ -44,6 +44,8 @@ public class DeltaSpikeExternalContextWrapper extends ExternalContextWrapper
imp
     {
         FacesContext facesContext = FacesContext.getCurrentInstance();
 
+        // skip if we are in initialRedirect mode because
+        // save messages via flash scope will fail because the JSF lifecycle isn't initialized
         if (!ClientWindowHelper.isInitialRedirect(facesContext))
         {
             JsfUtils.saveFacesMessages(this.wrapped);


Mime
View raw message