Author: rafabene
Date: Wed Oct 29 20:10:30 2014
New Revision: 1635290

URL: http://svn.apache.org/r1635290
Log:
Site checkin for project Apache DeltaSpike - Documentation

Modified:
    deltaspike/site/trunk/content/documentation/jsf.html

Modified: deltaspike/site/trunk/content/documentation/jsf.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/jsf.html?rev=1635290&r1=1635289&r2=1635290&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/jsf.html (original)
+++ deltaspike/site/trunk/content/documentation/jsf.html Wed Oct 29 20:10:30 
2014
@@ -565,11 +565,28 @@ of the windowId to all links of all chil
 <div class="sect3">
 <h4 id="_number_of_active_windows">Number of active windows</h4>
 <div class="paragraph">
-<p>By default, DeltaSpike will allow <code>10</code> active windows per 
session. Once that the limit number of active windows is reached, DeltaSpike 
will drop the oldest active window.</p>
+<p>By default, DeltaSpike allows <code>1024</code> active windows per session. 
Anyway, this number is reduced inside this JSF module to <code>64</code> for 
JSF applications. Once that the limit number of active windows is reached, 
DeltaSpike will drop the oldest active window.</p>
 </div>
 <div class="paragraph">
 <p>You can change the default value by setting the property 
<code>deltaspike.scope.window.max-count</code> using  <a 
href="configuration.html#_configsources_provided_by_default">DeltaSpike 
configuration mechanism</a>.</p>
 </div>
+<div class="paragraph">
+<p>You can also provide this value via:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span 
class="annotation">@Specializes</span>
+<span class="directive">public</span> <span class="type">class</span> <span 
class="class">MyClientWindowConfig</span> <span 
class="directive">extends</span> DefaultClientWindowConfig
+{
+
+    <span class="annotation">@Override</span>
+    <span class="directive">public</span> <span class="type">int</span> 
getMaxWindowContextCount()
+    {
+        <span class="comment">// return the max active windows per 
session</span>
+    }
+}</code></pre>
+</div>
+</div>
 </div>
 <div class="sect3">
 <h4 id="_switch_mode">Switch Mode</h4>


Reply via email to