[jboss-cvs] jboss-seam/examples/registration/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Thu Jun 21 19:28:21 EDT 2007
User: gavin
Date: 07/06/21 19:28:21
Modified: examples/registration/resources/WEB-INF web.xml
Added: examples/registration/resources/WEB-INF faces-config.xml
Log:
simplest example should use facelets
Revision Changes Path
1.24 +1 -1 jboss-seam/examples/registration/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/registration/resources/WEB-INF/web.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- web.xml 4 Apr 2007 18:30:40 -0000 1.23
+++ web.xml 21 Jun 2007 23:28:21 -0000 1.24
@@ -22,7 +22,7 @@
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
- <param-value>.jspx</param-value>
+ <param-value>.xhtml</param-value>
</context-param>
<servlet>
1.21 +6 -0 jboss-seam/examples/registration/resources/WEB-INF/faces-config.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: faces-config.xml
===================================================================
RCS file: faces-config.xml
diff -N faces-config.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ faces-config.xml 21 Jun 2007 23:28:21 -0000 1.21
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ 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-facesconfig_1_2.xsd">
+
+ <!-- Facelets support -->
+
+ <application>
+ <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+ </application>
+
+</faces-config>
More information about the jboss-cvs-commits
mailing list