You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bu...@apache.org on 2014/02/27 03:01:03 UTC

svn commit: r899339 - in /websites/staging/myfaces/trunk/content: ./ wiki/core/user-guide/configuration-of-special-features/view-pooling.html

Author: buildbot
Date: Thu Feb 27 02:01:02 2014
New Revision: 899339

Log:
Staging update by buildbot for myfaces

Modified:
    websites/staging/myfaces/trunk/content/   (props changed)
    websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/view-pooling.html

Propchange: websites/staging/myfaces/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Feb 27 02:01:02 2014
@@ -1 +1 @@
-1572396
+1572397

Modified: websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/view-pooling.html
==============================================================================
--- websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/view-pooling.html (original)
+++ websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/view-pooling.html Thu Feb 27 02:01:02 2014
@@ -442,24 +442,28 @@ there are the following points where the
 <ul>
 <li>Add an entry into a faces-config.xml file like this:</li>
 </ul>
-<p>faces-config.xml
-    :::xml
-    <faces-config-extension>
-        <view-pool-mapping>
-            <url-pattern>/*</url-pattern>
-            <parameter>
-                <name>org.apache.myfaces.VIEW_POOL_MAX_POOL_SIZE</name>
-                <value>5</value>
-            </parameter>
-        </view-pool-mapping>
-    </faces-config-extension></p>
+<p>faces-config.xml</p>
+<div class="codehilite"><pre><span class="nt">&lt;faces-config-extension&gt;</span>
+    <span class="nt">&lt;view-pool-mapping&gt;</span>
+        <span class="nt">&lt;url-pattern&gt;</span>/*<span class="nt">&lt;/url-pattern&gt;</span>
+        <span class="nt">&lt;parameter&gt;</span>
+            <span class="nt">&lt;name&gt;</span>org.apache.myfaces.VIEW_POOL_MAX_POOL_SIZE<span class="nt">&lt;/name&gt;</span>
+            <span class="nt">&lt;value&gt;</span>5<span class="nt">&lt;/value&gt;</span>
+        <span class="nt">&lt;/parameter&gt;</span>
+    <span class="nt">&lt;/view-pool-mapping&gt;</span>
+<span class="nt">&lt;/faces-config-extension&gt;</span>
+</pre></div>
+
+
 <p>With this mode you can override the global web config parameters.</p>
 <ul>
 <li>Encapsulate your top level page with</li>
 </ul>
-<p>On top level page
-    :::xml
-    <f:view oamEnableViewPool=true></p>
+<p>On top level page</p>
+<div class="codehilite"><pre><span class="nt">&lt;f:view</span> <span class="na">oamEnableViewPool=</span><span class="s">true</span><span class="nt">&gt;</span>
+</pre></div>
+
+
 <p>Note if the view is marked as "transient" or stateless and poolable at the same
 time the view pool will disabled, because the view pool reuse the state saving 
 algorithm.</p>