[jboss-cvs] jboss-seam/examples/glassfish/resources/WEB-INF ...
Michael Yuan
michael.yuan at jboss.com
Mon Feb 26 13:32:33 EST 2007
User: myuan
Date: 07/02/26 13:32:33
Modified: examples/glassfish/resources/WEB-INF faces-config.xml
pages.xml web.xml
Log:
Glassfish example that really works this time. :)
Revision Changes Path
1.3 +8 -5 jboss-seam/examples/glassfish/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/glassfish/resources/WEB-INF/faces-config.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- faces-config.xml 26 Feb 2007 09:43:28 -0000 1.2
+++ faces-config.xml 26 Feb 2007 18:32:33 -0000 1.3
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE faces-config
- PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<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">
-<faces-config>
+ <application>
+ <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
+ </application>
<!-- Select one of the standard transaction models for the Seam application -->
<lifecycle>
<phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
</lifecycle>
1.5 +1 -1 jboss-seam/examples/glassfish/resources/WEB-INF/pages.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pages.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/glassfish/resources/WEB-INF/pages.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- pages.xml 26 Feb 2007 09:43:28 -0000 1.4
+++ pages.xml 26 Feb 2007 18:32:33 -0000 1.5
@@ -21,7 +21,7 @@
<page view-id="/home.xhtml">
<navigation>
- <rule if="#{org.jboss.seam.security.identity.loggedIn}">
+ <rule if="#{identity.loggedIn}">
<redirect view-id="/main.xhtml"/>
</rule>
</navigation>
1.10 +0 -2 jboss-seam/examples/glassfish/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/glassfish/resources/WEB-INF/web.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- web.xml 26 Feb 2007 09:43:28 -0000 1.9
+++ web.xml 26 Feb 2007 18:32:33 -0000 1.10
@@ -77,11 +77,9 @@
-->
<!-- JSF RI -->
- <!--
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
- -->
<!-- Glassfish EJB3 names -->
<ejb-local-ref>
More information about the jboss-cvs-commits
mailing list