[jboss-cvs] jboss-seam/examples/contactlist/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Mon Nov 13 19:18:31 EST 2006
User: gavin
Date: 06/11/13 19:18:31
Modified: examples/contactlist/resources/WEB-INF components.xml
faces-config.xml web.xml
Log:
deploy components in jar
put in stubs for RI
Revision Changes Path
1.15 +0 -37 jboss-seam/examples/contactlist/resources/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/contactlist/resources/WEB-INF/components.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- components.xml 10 Nov 2006 19:07:54 -0000 1.14
+++ components.xml 14 Nov 2006 00:18:31 -0000 1.15
@@ -4,43 +4,6 @@
<components>
- <factory name="contact" value="#{contactHome.instance}"/>
- <component name="contactHome"
- class="org.jboss.seam.framework.EntityHome">
- <property name="entityClass">org.jboss.seam.example.contactlist.Contact</property>
- <property name="entityManager">#{entityManager}</property>
- </component>
-
-
- <factory name="comment" value="#{commentHome.instance}"/>
- <component name="commentHome"
- class="org.jboss.seam.framework.EntityHome">
- <property name="entityClass">org.jboss.seam.example.contactlist.Comment</property>
- <property name="newInstance">#{newComment}</property>
- <property name="entityManager">#{entityManager}</property>
- </component>
- <component name="newComment"
- class="org.jboss.seam.example.contactlist.Comment">
- <property name="contact">#{contact}</property>
- <property name="created">#{currentDatetime}</property>
- </component>
-
-
- <component name="contacts"
- class="org.jboss.seam.framework.EntityQuery">
- <property name="ejbql">from Contact</property>
- <property name="restrictions">
- <value>lower(firstName) like lower( #{exampleContact.firstName} + '%' )</value>
- <value>lower(lastName) like lower( #{exampleContact.lastName} + '%' )</value>
- </property>
- <property name="order">lastName</property>
- <property name="maxResults">20</property>
- <property name="entityManager">#{entityManager}</property>
- </component>
- <component name="exampleContact"
- class="org.jboss.seam.example.contactlist.Contact"/>
-
-
<component name="entityManager"
class="org.jboss.seam.core.ManagedPersistenceContext">
<property name="persistenceUnitJndiName">java:/contactlistEntityManagerFactory</property>
1.8 +4 -0 jboss-seam/examples/contactlist/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/contactlist/resources/WEB-INF/faces-config.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- faces-config.xml 4 Nov 2006 01:29:23 -0000 1.7
+++ faces-config.xml 14 Nov 2006 00:18:31 -0000 1.8
@@ -8,6 +8,10 @@
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+ <!-- JSF RI -->
+ <!--
+ <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
+ -->
</application>
<!-- Phase listener needed for all Seam applications -->
1.6 +7 -1 jboss-seam/examples/contactlist/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/contactlist/resources/WEB-INF/web.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- web.xml 8 Nov 2006 19:58:24 -0000 1.5
+++ web.xml 14 Nov 2006 00:18:31 -0000 1.6
@@ -49,11 +49,17 @@
</context-param>
<!-- MyFaces -->
-
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
+ <!-- JSF RI -->
+ <!--
+ <listener>
+ <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
+ </listener>
+ -->
+
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
More information about the jboss-cvs-commits
mailing list