[jboss-cvs] jboss-seam/examples/wiki/src/etc/WEB-INF ...
Gavin King
gavin.king at jboss.com
Tue Jun 19 22:11:30 EDT 2007
User: gavin
Date: 07/06/19 22:11:30
Modified: examples/wiki/src/etc/WEB-INF components.xml
Log:
update configs
Revision Changes Path
1.18 +9 -7 jboss-seam/examples/wiki/src/etc/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/wiki/src/etc/WEB-INF/components.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- components.xml 15 Jun 2007 05:14:05 -0000 1.17
+++ components.xml 20 Jun 2007 02:11:30 -0000 1.18
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:persistence="http://jboss.com/products/seam/persistence"
xmlns:security="http://jboss.com/products/seam/security"
xmlns:drools="http://jboss.com/products/seam/drools"
xmlns:web="http://jboss.com/products/seam/web"
@@ -8,6 +9,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.3.xsd
+ http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-1.3.xsd
http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.3.xsd
http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.3.xsd
http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.3.xsd
@@ -40,18 +42,18 @@
</core:filter>
<!-- TODO: Required for testing but doesn't work with injection: persistence-unit-jndi-name="java:/EntityManagerFactories/wiki" -->
- <core:managed-persistence-context name="restrictedEntityManager"
+ <persistence:managed-persistence-context name="restrictedEntityManager"
auto-create="true"
entity-manager-factory="#{wikiEntityManagerFactory}">
- <core:filters><value>#{accessLevelFilter}</value></core:filters>
- </core:managed-persistence-context>
+ <persistence:filters><value>#{accessLevelFilter}</value></persistence:filters>
+ </persistence:managed-persistence-context>
- <core:managed-persistence-context name="entityManager"
+ <persistence:managed-persistence-context name="entityManager"
auto-create="true"
entity-manager-factory="#{wikiEntityManagerFactory}">
- </core:managed-persistence-context>
+ </persistence:managed-persistence-context>
- <core:entity-manager-factory installed="@seamPersistenceUnit@" name="wikiEntityManagerFactory" persistence-unit-name="wiki"/>
+ <persistence:entity-manager-factory installed="@seamPersistenceUnit@" name="wikiEntityManagerFactory" persistence-unit-name="wiki"/>
<component name="restrictedEntityConverter" scope="CONVERSATION" precedence="20"
class="org.jboss.seam.ui.EntityConverter">
More information about the jboss-cvs-commits
mailing list