deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject git commit: DELTASPIKE-584 ds:disableClientWindow prevents child rendering with CLIENTWINDOW mode
Date Sun, 27 Apr 2014 20:38:42 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 550a2cd23 -> 090a05706


DELTASPIKE-584 ds:disableClientWindow prevents child rendering with CLIENTWINDOW mode

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

Branch: refs/heads/master
Commit: 090a057069f68d9abda3e53c0afe64c50fdabbb0
Parents: 550a2cd
Author: tandraschko <tandraschko@apache.org>
Authored: Sun Apr 27 22:38:33 2014 +0200
Committer: tandraschko <tandraschko@apache.org>
Committed: Sun Apr 27 22:38:33 2014 +0200

----------------------------------------------------------------------
 .../impl/component/window/DisableClientWindowHtmlRenderer.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/090a0570/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/component/window/DisableClientWindowHtmlRenderer.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/component/window/DisableClientWindowHtmlRenderer.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/component/window/DisableClientWindowHtmlRenderer.java
index f79da69..f4a3fb0 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/component/window/DisableClientWindowHtmlRenderer.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/component/window/DisableClientWindowHtmlRenderer.java
@@ -39,7 +39,10 @@ public class DisableClientWindowHtmlRenderer extends Renderer
 
         try
         {
-            getClientWindow().disableClientWindowRenderMode(context);
+            if (clientWindowRenderModeEnabled)
+            {
+                getClientWindow().disableClientWindowRenderMode(context);
+            }
 
             super.encodeChildren(context, component);
         }


Mime
View raw message