[jboss-cvs] jboss-seam/examples/jpa/resources-websphere61/WEB-INF ...
Peter Muir
peter at bleepbleep.org.uk
Wed Oct 17 18:43:08 EDT 2007
User: pmuir
Date: 07/10/17 18:43:08
Modified: examples/jpa/resources-websphere61/WEB-INF components.xml
web.xml
Log:
JBSEAM-2030
Revision Changes Path
1.3 +5 -0 jboss-seam/examples/jpa/resources-websphere61/WEB-INF/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/resources-websphere61/WEB-INF/components.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- components.xml 3 Oct 2007 13:49:38 -0000 1.2
+++ components.xml 17 Oct 2007 22:43:08 -0000 1.3
@@ -4,11 +4,13 @@
xmlns:persistence="http://jboss.com/products/seam/persistence"
xmlns:transaction="http://jboss.com/products/seam/transaction"
xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:web="http://jboss.com/products/seam/web"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
+ http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
<core:manager conversation-timeout="120000"
@@ -24,4 +26,7 @@
<security:identity authenticate-method="#{authenticator.authenticate}"/>
+ <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter -->
+ <web:ajax4jsf-filter disabled="true" />
+
</components>
1.3 +17 -1 jboss-seam/examples/jpa/resources-websphere61/WEB-INF/web.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: web.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/resources-websphere61/WEB-INF/web.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- web.xml 16 Jul 2007 06:45:53 -0000 1.2
+++ web.xml 17 Oct 2007 22:43:08 -0000 1.3
@@ -4,7 +4,23 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-
<!-- Ajax4jsf filter not needed, Seam Filter install it -->
+
+
+ <!-- WAS requires the filter to be mapped to a suffix, so can't use built in Seam filter -->
+ <filter>
+ <display-name>RichFaces Filter</display-name>
+ <filter-name>richfaces</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>richfaces</filter-name>
+ <servlet-name>Faces Servlet</servlet-name>
+ <dispatcher>REQUEST</dispatcher>
+ <dispatcher>FORWARD</dispatcher>
+ <dispatcher>INCLUDE</dispatcher>
+ </filter-mapping>
+
<context-param>
<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
More information about the jboss-cvs-commits
mailing list