[jboss-cvs] jboss-seam-tools/src/org/jboss/seam/tools/templates/web ...
Thomas Heute
theute at jboss.com
Mon Jul 24 11:00:23 EDT 2006
User: theute
Date: 06/07/24 11:00:23
Modified: src/org/jboss/seam/tools/templates/web web.xml.ftl
faces-config.xml.ftl
Log:
Allow creatiion of basic example project (based on "registration")
Revision Changes Path
1.2 +2 -2 jboss-seam-tools/src/org/jboss/seam/tools/templates/web/web.xml.ftl
(In the diff below, changes in quantity of whitespace are not shown.)
Index: web.xml.ftl
===================================================================
RCS file: /cvsroot/jboss/jboss-seam-tools/src/org/jboss/seam/tools/templates/web/web.xml.ftl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- web.xml.ftl 19 Jul 2006 16:11:33 -0000 1.1
+++ web.xml.ftl 24 Jul 2006 15:00:23 -0000 1.2
@@ -30,12 +30,12 @@
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.${context.jsfExtension}</param-value>
- </context-param>
+ </context-param>
<#if context.faceletsSupport>
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
-
+ </#if>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.${context.seamExtension}</url-pattern>
</servlet-mapping>
1.2 +3 -0 jboss-seam-tools/src/org/jboss/seam/tools/templates/web/faces-config.xml.ftl
(In the diff below, changes in quantity of whitespace are not shown.)
Index: faces-config.xml.ftl
===================================================================
RCS file: /cvsroot/jboss/jboss-seam-tools/src/org/jboss/seam/tools/templates/web/faces-config.xml.ftl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- faces-config.xml.ftl 19 Jul 2006 16:11:33 -0000 1.1
+++ faces-config.xml.ftl 24 Jul 2006 15:00:23 -0000 1.2
@@ -48,11 +48,14 @@
</navigation-rule>
-->
+
+ <#if context.faceletsSupport>
<!-- Facelets support -->
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
+ </#if>
<!-- Select one of the two standard persistence lifecycle models for the Seam application -->
<lifecycle>
<phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
</lifecycle>
More information about the jboss-cvs-commits
mailing list