[jboss-cvs] jboss-seam/examples/booking/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Thu Oct 12 18:44:47 EDT 2006
User: gavin
Date: 06/10/12 18:44:47
Modified: examples/booking/resources/WEB-INF faces-config.xml
web.xml
Log:
ajaxify the booking demo JBSEAM-388 thanks to Todd Smart
Revision Changes Path
1.37 +1 -6 jboss-seam/examples/booking/resources/WEB-INF/faces-config.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: faces-config.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/booking/resources/WEB-INF/faces-config.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- faces-config.xml 9 Aug 2006 20:30:07 -0000 1.36
+++ faces-config.xml 12 Oct 2006 22:44:47 -0000 1.37
@@ -43,11 +43,6 @@
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/book.xhtml</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
- <!-- Facelets support -->
-
- <application>
- <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
- </application>
<!-- Select one of the two standard persistence lifecycle models for the Seam application -->
<lifecycle>
<phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
</lifecycle>
1.30 +18 -0 jboss-seam/examples/booking/resources/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/booking/resources/WEB-INF/web.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- web.xml 12 Oct 2006 02:43:39 -0000 1.29
+++ web.xml 12 Oct 2006 22:44:47 -0000 1.30
@@ -4,6 +4,24 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ <!-- Ajax4jsf (must come first!) -->
+
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <url-pattern>*.seam</url-pattern>
+ </filter-mapping>
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
+ </context-param>
+
<!-- Seam -->
<listener>
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
</listener>
<!-- Propagate conversations across redirects -->
More information about the jboss-cvs-commits
mailing list