Author: nbelaevski
Date: 2011-03-07 10:15:56 -0500 (Mon, 07 Mar 2011)
New Revision: 22071
Modified:
branches/4.0.X/examples/richfaces-showcase/pom.xml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml
Log:
https://issues.jboss.org/browse/RF-10681
Modified: branches/4.0.X/examples/richfaces-showcase/pom.xml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/pom.xml 2011-03-07 13:00:14 UTC (rev
22070)
+++ branches/4.0.X/examples/richfaces-showcase/pom.xml 2011-03-07 15:15:56 UTC (rev
22071)
@@ -171,6 +171,16 @@
<version>2.9.1</version>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>com.sun.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>2.0.3-b03</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>2.0.3-b03</version>
+ </dependency>
</dependencies>
<build>
<resources>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml 2011-03-07
13:00:14 UTC (rev 22070)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml 2011-03-07
15:15:56 UTC (rev 22071)
@@ -45,29 +45,9 @@
<param-value>client</param-value>
</context-param>
<context-param>
- <param-name>org.apache.myfaces.SECRET</param-name>
- <param-value>-- Insert some secret here --</param-value>
- </context-param>
- <context-param>
- <param-name>org.apache.myfaces.MAC_SECRET</param-name>
- <param-value>-- Insert some secret here --</param-value>
- </context-param>
- <context-param>
- <param-name>org.apache.myfaces.algorithm</param-name>
- <param-value>Blowfish</param-value>
- </context-param>
- <context-param>
<param-name>org.richfaces.staticResourceLocation</param-name>
<param-value>#{facesContext.externalContext.requestContextPath}/static-resources/#{resourceLocation}</param-value>
</context-param>
- <!--
- We need to set annotation lifecycyle provider manually as
org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider.
- Other providers use some classes that are restricted on Google App Engine.
- -->
- <context-param>
-
<param-name>org.apache.myfaces.config.annotation.LifecycleProvider</param-name>
-
<param-value>org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider</param-value>
- </context-param>
<context-param>
<param-name>org.ajax4jsf.cache.CACHE_MANAGER_FACTORY_CLASS</param-name>
@@ -75,11 +55,34 @@
</context-param>
<context-param>
- <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name>
- <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
+ <description>
+ Set this flag to true if you want the JavaServer Faces
+ Reference Implementation to validate the XML in your
+ faces-config.xml resources against the DTD. Default
+ value is false.
+ </description>
+ <param-name>com.sun.faces.validateXml</param-name>
+ <param-value>true</param-value>
</context-param>
+ <!-- ***** Accommodate Single-Threaded Requirement of Google AppEngine -->
+ <context-param>
+ <description>
+ When enabled, the runtime initialization and default ResourceHandler
+ implementation will use threads to perform their functions. Set this
+ value to false if threads aren't desired (as in the case of running
+ within the Google Application Engine).
+ Note that when this option is disabled, the ResourceHandler will not
+ pick up new versions of resources when ProjectStage is development.
+ </description>
+ <param-name>com.sun.faces.enableThreading</param-name>
+ <param-value>false</param-value>
+ </context-param>
<context-param>
+ <param-name>com.sun.faces.expressionFactory</param-name>
+ <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
+ </context-param>
+ <context-param>
<param-name>org.richfaces.executeAWTInitializer</param-name>
<param-value>false</param-value>
</context-param>