[jboss-cvs] jboss-seam/examples/contactlist/resources/META-INF ...
Gavin King
gavin.king at jboss.com
Mon Nov 20 23:08:31 EST 2006
User: gavin
Date: 06/11/20 23:08:31
Modified: examples/contactlist/resources/META-INF components.xml
Log:
ws
Revision Changes Path
1.3 +3 -0 jboss-seam/examples/contactlist/resources/META-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/META-INF/components.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- components.xml 21 Nov 2006 04:04:51 -0000 1.2
+++ components.xml 21 Nov 2006 04:08:31 -0000 1.3
@@ -13,11 +13,13 @@
entity-class="org.jboss.seam.example.contactlist.Contact"
entity-manager="#{entityManager}"/>
+
<factory name="comment" value="#{commentHome.instance}"/>
<fwk:entity-home name="commentHome"
entity-class="org.jboss.seam.example.contactlist.Comment"
entity-manager="#{entityManager}"
new-instance="#{newComment}"/>
+
<component name="newComment"
class="org.jboss.seam.example.contactlist.Comment">
<property name="contact">#{contact}</property>
@@ -35,6 +37,7 @@
<value>lower(lastName) like lower( #{exampleContact.lastName} + '%' )</value>
</fwk:restrictions>
</fwk:entity-query>
+
<component name="exampleContact"
class="org.jboss.seam.example.contactlist.Contact"/>
More information about the jboss-cvs-commits
mailing list