You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/09/10 15:27:09 UTC

svn commit: r1382826 - /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/WEB-INF/web.xml

Author: lofwyr
Date: Mon Sep 10 13:27:09 2012
New Revision: 1382826

URL: http://svn.apache.org/viewvc?rev=1382826&view=rev
Log:
jsf 2.0 compat

Modified:
    myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/WEB-INF/web.xml

Modified: myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/WEB-INF/web.xml?rev=1382826&r1=1382825&r2=1382826&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-addressbook/src/main/webapp/WEB-INF/web.xml Mon Sep 10 13:27:09 2012
@@ -25,6 +25,14 @@
   <display-name>A simple addressbook demo with Tobago</display-name>
 
   <context-param>
+    <param-name>javax.faces.PROJECT_STAGE</param-name>
+<!--
+    <param-value>Development</param-value>
+-->
+    <param-value>Production</param-value>
+  </context-param>
+
+  <context-param>
     <param-name>facelets.DEVELOPMENT</param-name>
     <param-value>true</param-value>
   </context-param>
@@ -40,6 +48,12 @@
   </context-param>
 
   <context-param>
+    <description>For backward compatibility (using "old" Facelets with JSF 2.0)</description>
+    <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
+    <param-value>true</param-value>
+  </context-param>
+
+  <context-param>
     <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
     <param-value>.xhtml</param-value>
   </context-param>