You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by de...@apache.org on 2006/03/21 07:49:16 UTC

svn commit: r387442 - /myfaces/tomahawk/trunk/examples/blank/src/main/webapp/WEB-INF/web.xml

Author: dennisbyrne
Date: Mon Mar 20 22:49:15 2006
New Revision: 387442

URL: http://svn.apache.org/viewcvs?rev=387442&view=rev
Log:
The deployment descriptor for the tiles examples was not well formed
Also added low strength encryption to tiles/blank examples.

Modified:
    myfaces/tomahawk/trunk/examples/blank/src/main/webapp/WEB-INF/web.xml

Modified: myfaces/tomahawk/trunk/examples/blank/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/examples/blank/src/main/webapp/WEB-INF/web.xml?rev=387442&r1=387441&r2=387442&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/blank/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tomahawk/trunk/examples/blank/src/main/webapp/WEB-INF/web.xml Mon Mar 20 22:49:15 2006
@@ -4,9 +4,11 @@
   <context-param>
     <description>Comma separated list of URIs of (additional) faces config files.
             (e.g. /WEB-INF/my-config.xml)
-            See JSF 1.0 PRD2, 10.3.2</description>
+            See JSF 1.0 PRD2, 10.3.2
+            You do not need to put /WEB-INF/faces-config.xml in here.
+    </description>
     <param-name>javax.faces.CONFIG_FILES</param-name>
-    <param-value>/WEB-INF/examples-config.xml</param-value>
+    <param-value>/WEB-INF/examples-config.xml</param-value> 
   </context-param>
   <context-param>
     <description>State saving method: "client" or "server" (= default)
@@ -68,6 +70,16 @@
     <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
     <param-value>true</param-value>
   </context-param>
+  
+    <context-param>
+    	<description> Used for encrypting view state.  Only relevant for client side
+    		state saving.  See MyFaces wiki/web site documentation for instructions
+    		on how to configure an application for diffenent encryption strengths.
+    	</description>
+        <param-name>org.apache.myfaces.secret</param-name>
+        <param-value>NzY1NDMyMTA=</param-value>
+    </context-param>
+  
   <filter>
     <filter-name>extensionsFilter</filter-name>
     <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>