Author: buildbot Date: Sat Feb 15 12:15:39 2014 New Revision: 898017 Log: Staging update by buildbot for deltaspike
Modified: websites/staging/deltaspike/trunk/content/ (props changed) websites/staging/deltaspike/trunk/content/jsf.html Propchange: websites/staging/deltaspike/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Sat Feb 15 12:15:39 2014 @@ -1 +1 @@ -1568626 +1568628 Modified: websites/staging/deltaspike/trunk/content/jsf.html ============================================================================== --- websites/staging/deltaspike/trunk/content/jsf.html (original) +++ websites/staging/deltaspike/trunk/content/jsf.html Sat Feb 15 12:15:39 2014 @@ -290,7 +290,7 @@ This is also the default mode if the cur It will import and render the required script parts for both <code>LAZY</code> and <code>CLIENTWINDOW</code> mode.<br/> The best way, to apply it for all views, is to add this component to all of your templates.</p> <h3 id="switch-mode">Switch Mode</h3> -<p>To switch the mode, you can just provide a <code>org.apache.deltaspike.jsf.api.config.JsfModuleConfig</code>:</p> +<p>To switch the mode, just provide a <code>org.apache.deltaspike.jsf.api.config.JsfModuleConfig</code> and overwrite <code>#getDefaultWindowMode</code>:</p> <div class="codehilite"><pre><span class="nd">@Specializes</span> <span class="kd">public</span> <span class="kd">class</span> <span class="nc">MyJsfModuleConfig</span> <span class="kd">extends</span> <span class="n">JsfModuleConfig</span> <span class="o">{</span> @@ -313,7 +313,7 @@ The best way, to apply it for all views, </pre></div> -<p>Don't forget to set the ClientWindowRenderMode to 'CUSTOM' via the <code>JsfModuleConfig</code>:</p> +<p>Don't forget to set the <code>ClientWindowRenderMode</code> to 'CUSTOM' via the <code>JsfModuleConfig</code>:</p> <div class="codehilite"><pre><span class="nd">@Specializes</span> <span class="kd">public</span> <span class="kd">class</span> <span class="nc">MyJsfModuleConfig</span> <span class="kd">extends</span> <span class="n">JsfModuleConfig</span> <span class="o">{</span>