[jboss-cvs] jboss-seam/examples/blog/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Fri Jun 15 01:09:07 EDT 2007
User: gavin
Date: 07/06/15 01:09:07
Modified: examples/blog/resources/WEB-INF components.xml
Log:
update examples to jboss embedded
Revision Changes Path
1.13 +10 -14 jboss-seam/examples/blog/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/blog/resources/WEB-INF/components.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- components.xml 22 May 2007 02:20:38 -0000 1.12
+++ components.xml 15 Jun 2007 05:09:06 -0000 1.13
@@ -2,32 +2,28 @@
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:theme="http://jboss.com/products/seam/theme"
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/security http://jboss.com/products/seam/security-1.3.xsd
+ http://jboss.com/products/seam/theme http://jboss.com/products/seam/theme-1.3.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.3.xsd">
<core:init debug="true"/>
<security:identity authenticate-method="#{authenticator.authenticate}"/>
- <component name="org.jboss.seam.theme.themeSelector">
- <property name="availableThemes">
+ <theme:theme-selector>
+ <theme:available-themes>
<value>default</value>
<value>accessible</value>
<value>printable</value>
- </property>
- <property name="cookieEnabled">true</property>
- </component>
+ </theme:available-themes>
+ </theme:theme-selector>
- <component name="entityManager"
- auto-create="true"
- class="org.jboss.seam.core.ManagedPersistenceContext">
- <property name="persistenceUnitJndiName">java:/blogEntityManagerFactory</property>
- </component>
-
- <component class="org.jboss.seam.core.Ejb"
- installed="@embeddedEjb@"/>
+ <core:managed-persistence-context auto-create="true" name="entityManager">
+ <core:persistence-unit-jndi-name>java:/blogEntityManagerFactory</core:persistence-unit-jndi-name>
+ </core:managed-persistence-context>
</components>
More information about the jboss-cvs-commits
mailing list