deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [1/2] deltaspike git commit: DELTASPIKE-932 use isClientWindowRenderEnabled from JSF 2.2 is DELEGATED mode is used
Date Sun, 05 Jul 2015 22:28:01 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master a16d304e6 -> 70c42ca9d


DELTASPIKE-932 use isClientWindowRenderEnabled from JSF 2.2 is DELEGATED mode is used

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

Branch: refs/heads/master
Commit: 7139478e2146b00133240541a7beea3d6d7e068a
Parents: a16d304
Author: Thomas Andraschko <tandraschko@apache.org>
Authored: Wed Jul 1 22:15:12 2015 +0200
Committer: Thomas Andraschko <tandraschko@apache.org>
Committed: Wed Jul 1 22:15:12 2015 +0200

----------------------------------------------------------------------
 .../impl/scope/window/strategy/DelegatedWindowStrategy.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/7139478e/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/window/strategy/DelegatedWindowStrategy.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/window/strategy/DelegatedWindowStrategy.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/window/strategy/DelegatedWindowStrategy.java
index fd12e49..af7bd43 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/window/strategy/DelegatedWindowStrategy.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/window/strategy/DelegatedWindowStrategy.java
@@ -44,4 +44,10 @@ public class DelegatedWindowStrategy extends AbstractClientWindowStrategy
     {
         facesContext.getExternalContext().getClientWindow().enableClientWindowRenderMode(facesContext);
     }
+    
+    @Override
+    public boolean isClientWindowRenderModeEnabled(FacesContext facesContext)
+    {
+        return facesContext.getExternalContext().getClientWindow().isClientWindowRenderModeEnabled(facesContext);
+    }
 }


Mime
View raw message