deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r927327 - in /websites/staging/deltaspike/trunk/content: ./ documentation/jsf.html
Date Wed, 29 Oct 2014 20:10:35 GMT
Author: buildbot
Date: Wed Oct 29 20:10:35 2014
New Revision: 927327

Log:
Staging update by buildbot for deltaspike

Modified:
    websites/staging/deltaspike/trunk/content/   (props changed)
    websites/staging/deltaspike/trunk/content/documentation/jsf.html

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Oct 29 20:10:35 2014
@@ -1 +1 @@
-1635240
+1635290

Modified: websites/staging/deltaspike/trunk/content/documentation/jsf.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/jsf.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/jsf.html Wed Oct 29 20:10:35 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>



Mime
View raw message