Author: tandraschko
Date: Sat Feb 15 12:14:12 2014
New Revision: 1568626

URL: http://svn.apache.org/r1568626
Log:
changed ClientWindowRenderMode sample to JSFModuleConfig

Modified:
    deltaspike/site/trunk/content/jsf.mdtext

Modified: deltaspike/site/trunk/content/jsf.mdtext
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/jsf.mdtext?rev=1568626&r1=1568625&r2=1568626&view=diff
==============================================================================
--- deltaspike/site/trunk/content/jsf.mdtext (original)
+++ deltaspike/site/trunk/content/jsf.mdtext Sat Feb 15 12:14:12 2014
@@ -137,14 +137,14 @@ The best way, to apply it for all views,
 
 ### Switch Mode
 
-To switch the mode, you can just provide a 
`org.apache.deltaspike.jsf.spi.scope.window.DefaultClientWindowConfig` or 
`org.apache.deltaspike.jsf.spi.scope.window.ClientWindowConfig`:
+To switch the mode, you can just provide a 
`org.apache.deltaspike.jsf.api.config.JsfModuleConfig`:
 
     :::java
     @Specializes
-    public class MyClientWindowConfig extends DefaultClientWindowConfig
+    public class MyJsfModuleConfig extends JsfModuleConfig
     {
         @Override
-        public ClientWindowRenderMode getClientWindowRenderMode(FacesContext 
facesContext)
+        public ClientWindowConfig.ClientWindowRenderMode getDefaultWindowMode()
         {
             //...
         }
@@ -161,16 +161,16 @@ If you would like to provide an custom `
         //...
     }
 
-Don't forget to set the ClientWindowRenderMode to 'CUSTOM' via the 
ClientWindowConfig:
+Don't forget to set the ClientWindowRenderMode to 'CUSTOM' via the 
`JsfModuleConfig`:
 
     :::java
     @Specializes
-    public class MyClientWindowConfig extends DefaultClientWindowConfig
+    public class MyJsfModuleConfig extends JsfModuleConfig
     {
         @Override
-        public ClientWindowRenderMode getClientWindowRenderMode(FacesContext 
facesContext)
+        public ClientWindowConfig.ClientWindowRenderMode getDefaultWindowMode()
         {
-            return ClientWindowRenderMode.CUSTOM;
+            return ClientWindowConfig.ClientWindowRenderMode.CUSTOM;
         }
     }
 


Reply via email to