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:00:18 UTC
svn commit: r899338 - in /websites/staging/myfaces/trunk/content: ./
wiki/core/user-guide/configuration-of-special-features/view-pooling.html
Author: buildbot
Date: Thu Feb 27 02:00:18 2014
New Revision: 899338
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:00:18 2014
@@ -1 +1 @@
-1572395
+1572396
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:00:18 2014
@@ -440,28 +440,26 @@ there are the following points where the
</ul>
<p>There are two ways to enable a view to be used by the view pool:</p>
<ul>
-<li>
-<p>Add an entry into a faces-config.xml file like this:</p>
-<p>:::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>
-</li>
+<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>With this mode you can override the global web config parameters.</p>
<ul>
-<li>
-<p>Encapsulate your top level page with</p>
-<p>:::xml
-<f:view oamEnableViewPool=true></p>
-</li>
+<li>Encapsulate your top level page with</li>
</ul>
+<p>On top level page
+ :::xml
+ <f:view oamEnableViewPool=true></p>
<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>