Author: buildbot
Date: Sun Mar 2 21:38:43 2014
New Revision: 899769
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 Sun Mar 2 21:38:43 2014
@@ -1 +1 @@
-1572515
+1573372
Modified: websites/staging/deltaspike/trunk/content/jsf.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/jsf.html (original)
+++ websites/staging/deltaspike/trunk/content/jsf.html Sun Mar 2 21:38:43 2014
@@ -113,6 +113,7 @@
</li>
<li><a href="#configuration">Configuration</a><ul>
<li><a href="#dswindowid">ds:windowId</a></li>
+<li><a href="#dsdisableclientwindow">ds:disableClientWindow</a></li>
<li><a href="#switch-mode">Switch Mode</a></li>
<li><a href="#provide-a-custom-clientwindow">Provide a custom
ClientWindow</a></li>
</ul>
@@ -298,6 +299,15 @@ This is also the default mode if the cur
<p>The component <code>ds:windowId</code>
(<code>xmlns:ds="http://deltaspike.apache.org/jsf"</code>) is required to
enable the full control of the DeltaSpike window handling.<br/>
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="dsdisableclientwindow">ds:disableClientWindow</h3>
+<p>Similiar to JSF 2.2' <code>disableClientWindow</code>,
<code>ds:disableClientWindow</code> provides the ability to disable the
rendering of the windowId to all links of all child components:</p>
+<div class="codehilite"><pre><span
class="nt"><ds:disableClientWindow></span>
+ <span class="nt"><h:link</span> <span class="na">value=</span><span
class="s">"Link without windowId"</span> <span
class="na">outcome=</span><span class="s">"target.xhtml"</span> <span
class="nt">/></span>
+<span class="nt"></ds:disableClientWindow></span>
+<span class="nt"><h:link</span> <span class="na">value=</span><span
class="s">"Link with windowId"</span> <span
class="na">outcome=</span><span class="s">"target.xhtml"</span><span
class="nt">/></span>
+</pre></div>
+
+
<h3 id="switch-mode">Switch Mode</h3>
<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>