Author: artdaw
Date: 2011-03-25 13:28:44 -0400 (Fri, 25 Mar 2011)
New Revision: 22316
Added:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/faces-config.xml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/favicon.ico
Modified:
branches/4.0.X/examples/richfaces-showcase/pom.xml
branches/4.0.X/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
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/richfaces/autocomplete/cachedAjax.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml
Log:
RF-10753: all changes are merged
Modified: branches/4.0.X/examples/richfaces-showcase/pom.xml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/pom.xml 2011-03-25 14:35:02 UTC (rev
22315)
+++ branches/4.0.X/examples/richfaces-showcase/pom.xml 2011-03-25 17:28:44 UTC (rev
22316)
@@ -18,7 +18,7 @@
<name>Richfaces Examples: Richfaces Showcase Application</name>
<properties>
- <gae.version>1.4.0</gae.version>
+ <gae.version>1.4.2</gae.version>
</properties>
<dependencies>
@@ -200,6 +200,7 @@
<directory>src/main/webapp</directory>
<excludes>
<exclude>WEB-INF/web.xml</exclude>
+
<exclude>WEB-INF/faces-config.xml</exclude>
</excludes>
</resource>
<resource>
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml 2011-03-25
14:35:02 UTC (rev 22315)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/resources/org/richfaces/demo/data/common/navigation.xml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -480,7 +480,7 @@
</demo>
<demo>
<id>toolBar</id>
- <name>rich:toolBar</name>
+ <name>rich:toolbar</name>
<samples>
<sample>
<id>toolBar</id>
Copied: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/favicon.ico (from rev
22315, branches/RF-10753/examples/richfaces-showcase/src/main/webapp/favicon.ico)
===================================================================
(Binary files differ)
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/cachedAjax.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/cachedAjax.xhtml 2011-03-25
14:35:02 UTC (rev 22315)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/cachedAjax.xhtml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -1,27 +1,32 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:ui="http://java.sun.com/jsf/facelets">
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>The <b>rich:autocomplete</b> component looks like a simple input
component,
- but has advanced options and features to provide suggestions to the user during
input.</p>
- <p>There are three different <i>modes</i> for how it fetches
suggestions:
- <ul>
- <li><b>Client</b> - preloads data to the client and makes
suggestions according to the entered prefix on the client</li>
- <li><b>Ajax</b> - fetches the data on every input change using Ajax
requests</li>
- <li><b>Cached Ajax</b> - loads data via Ajax to make suggestions
when the prefix length satisfies <i>minChars</i> attribute value. Then all the
suggestions are handled at the client until the initial prefix is changed. At that point
it will reload with the new prefix.</li>
- </ul>
- </p>
- <p><b>1)</b> Autocomplete American state names using the cached Ajax
mode with <i>minChars="2"</i>.</p>
- <ui:include src="#{demoNavigator.sampleIncludeURI}" />
- <ui:include src="/templates/includes/source-view.xhtml">
- <ui:param name="src" value="#{demoNavigator.sampleIncludeURI}"
/>
- <ui:param name="sourceType" value="xhtml" />
- <ui:param name="openLabel" value="View Source" />
- <ui:param name="hideLabel" value="Hide Source" />
- </ui:include>
+ <p>The <b>rich:autocomplete</b> component looks like a simple input
component,
+ but has advanced options and features to provide suggestions to the user during
input.</p>
+
+ <p>There are three different <i>modes</i> for how it fetches
suggestions:</p>
+ <ul>
+ <li>
+ <b>Client</b> - preloads data to the client and makes suggestions
according to the entered prefix on the client
+ </li>
+ <li><b>Ajax</b> - fetches the data on every input change using
Ajax requests</li>
+ <li><b>Cached Ajax</b> - loads data via Ajax to make
suggestions when the prefix length satisfies
+ <i>minChars</i> attribute value. Then all the suggestions are
handled at the client until the initial prefix is changed. At that point it will reload
with the new prefix.
+ </li>
+ </ul>
+ <p><b>1)</b> Autocomplete American state names using the cached
Ajax mode with <i>minChars="2"</i>.</p>
+ <ui:include src="#{demoNavigator.sampleIncludeURI}"/>
+ <ui:include src="/templates/includes/source-view.xhtml">
+ <ui:param name="src"
value="#{demoNavigator.sampleIncludeURI}"/>
+ <ui:param name="sourceType" value="xhtml"/>
+ <ui:param name="openLabel" value="View Source"/>
+ <ui:param name="hideLabel" value="Hide Source"/>
+ </ui:include>
</ui:composition>
</html>
\ No newline at end of file
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-03-25
14:35:02 UTC (rev 22315)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -28,13 +28,13 @@
background-position: 5px;
background-repeat: no-repeat;
}
- .accept{
+ .rf-ind-drag.accept{
background-image:
url("#{facesContext.externalContext.requestContextPath}/images/dnd/accept.gif");
background-position: 5px;
background-repeat: no-repeat;
border:2px solid green
}
- .reject{
+ .rf-ind-drag.reject{
border:2px solid red;
background-image:
url("#{facesContext.externalContext.requestContextPath}/images/dnd/reject.gif");
background-position: 5px;
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml 2011-03-25
14:35:02 UTC (rev 22315)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -10,13 +10,12 @@
The <i>start</i> state indicates that an Ajax request is in progress.
When an Ajax Response is returned, the component switches to the
<i>stop</i> state.</p>
- <p>The <b>a4j:status</b> component could be defined as follows:
+ <p>The <b>a4j:status</b> component could be defined as follows:
</p>
<ul>
<li>As the default for a view.</li>
<li>As the default for a form.</li>
<li>Referenced explicity from the component sending the request.</li>
</ul>
- </p>
<p>This example shows a view-scoped <b>a4j:status</b> component. It
should be defined outside of
any forms, and will handle all the Ajax requests within the view.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-03-25
14:35:02 UTC (rev 22315)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -1,15 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app
xmlns="http://appengine.google.com/ns/1.0">
- <application>richfaces-showcase</application>
+ <application>travelcurve</application>
<version>28</version>
<sessions-enabled>true</sessions-enabled>
-
+
<system-properties>
<property name="java.util.logging.config.file"
value="WEB-INF/classes/logging.properties"/>
</system-properties>
<resource-files>
- <exclude path="/static-resources/**" />
+ <exclude path="/static-resources/**"/>
</resource-files>
+ <static-files>
+ <include path="/images/**.*"/>
+ <include path="/static-resources/**.*"/>
+ <include path="/*.ico"/>
+ <include path="/resources/**.*"/>
+ <exclude path="/templates/**.*"/>
+ <exclude path="/*.xhtml"/>
+ </static-files>
+
</appengine-web-app>
Copied: branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml
(from rev 22315,
branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml)
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml
(rev 0)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<cronentries>
+ <cron>
+ <url>/_ah/sessioncleanup?clear</url>
+ <description>Clean up sessions</description>
+ <schedule>every 5 minutes</schedule>
+ </cron>
+</cronentries>
Copied:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/faces-config.xml
(from rev 22315,
branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/faces-config.xml)
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/faces-config.xml
(rev 0)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/faces-config.xml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -0,0 +1,256 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<faces-config
xmlns="http://java.sun.com/xml/ns/javaee"
+ version="2.0" metadata-complete="true">
+
+ <application>
+ <!-- system-event-listener>
+ <system-event-listener-class>org.richfaces.resource.MapBasedResourceCodecListener</system-event-listener-class>
+ <system-event-class>javax.faces.event.PostConstructApplicationEvent</system-event-class>
+ </system-event-listener -->
+ </application>
+
+ <component>
+ <component-type>syntaxHighlighter</component-type>
+
<component-class>org.richfaces.demo.components.sh.SyntaxHighlighter</component-class>
+ </component>
+
+ <managed-bean>
+ <managed-bean-name>functionBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.function.FunctionBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>validationBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.validation.ValidationBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>passwordValidationBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.validation.PasswordValidationBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>mediaData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.mediaOutput.MediaData</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>mediaBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.mediaOutput.MediaBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>pollBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.poll.PollBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>profile</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.togglepanel.Profile</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>progressBarBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.progressBar.ProgressBarBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>tooltipData</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tooltip.TooltipData</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>calendarBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.calendar.CalendarBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>calendarModel</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.calendar.model.CalendarModel</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>queueBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.queue.QueueBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>regionBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.region.RegionBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>autocompleteBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.autocomplete.AutocompleteBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>capitals</property-name>
+ <value>#{capitalsParser.capitalsList}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>inplaceSelectBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.inplaces.InplaceSelectBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>capitals</property-name>
+ <value>#{capitalsParser.capitalsList}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>panelMenuBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.panelmenu.PanelMenuBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>capitalsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.CapitalsBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>capitals</property-name>
+ <value>#{capitalsParser.capitalsList}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>carsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.CarsBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>carsFilteringBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.CarsFilteringBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>capitalsSortingBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.CapitalsSortingBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>extTableSelectionBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.ExtTableSelectionBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>inventoryItems</property-name>
+ <value>#{carsBean.allInventoryItems}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>capitalsParser</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.model.capitals.CapitalsParser</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>slidesBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.SlidesBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>reportBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tables.ReportBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>paramBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.param.ParamBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>toolBarBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.toolbar.ToolBarBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>userBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.UserBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>demoNavigator</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.navigation.DemoNavigator</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>groups</property-name>
+ <value>#{navigationParser.groupsList}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>navigationParser</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.navigation.NavigationParser</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>selectsBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.SelectsBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>skinBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.common.SkinBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>skin</property-name>
+ <value>blueSky</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>listBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.lists.ListBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>fileUploadBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.fileupload.FileUploadBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dragDropBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.dragdrop.DragDropBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dragDropEventBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.dragdrop.DragDropEventBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>dragDropBean</property-name>
+ <value>#{dragDropBean}</value>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>dropDownMenuBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.dropdownmenu.DropDownMenuBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>cdsParser</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tree.CDParser</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>fileSystemBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tree.adaptors.FileSystemBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>treeBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.tree.TreeBean</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ <managed-property>
+ <property-name>cdXmlDescriptors</property-name>
+ <value>#{cdsParser.cdsList}</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>opBean1</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.outputPanel.OutputPanelBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>opBean2</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.outputPanel.OutputPanelBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+</faces-config>
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-25
14:35:02 UTC (rev 22315)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml 2011-03-25
17:28:44 UTC (rev 22316)
@@ -54,16 +54,6 @@
<param-value>org.ajax4jsf.cache.lru.LRUMapCacheFactory</param-value>
</context-param>
- <context-param>
- <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>
@@ -95,6 +85,10 @@
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
+ <servlet>
+ <servlet-name>_ah_sessioncleanup</servlet-name>
+
<servlet-class>com.google.apphosting.utils.servlet.SessionCleanupServlet</servlet-class>
+ </servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
@@ -103,4 +97,17 @@
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
-</web-app>
\ No newline at end of file
+ <servlet-mapping>
+ <servlet-name>_ah_sessioncleanup</servlet-name>
+ <url-pattern>/_ah/sessioncleanup</url-pattern>
+ </servlet-mapping>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>session-cleanup</web-resource-name>
+ <url-pattern>/_ah/sessioncleanup</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>admin</role-name>
+ </auth-constraint>
+ </security-constraint>
+</web-app>