[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Tue Nov 6 07:05:13 EST 2007
User: pmuir
Date: 07/11/06 07:05:13
Modified: doc/reference/en/modules controls.xml
Log:
JBSEAM-1242
Revision Changes Path
1.55 +8 -0 jboss-seam/doc/reference/en/modules/controls.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: controls.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/controls.xml,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- controls.xml 19 Oct 2007 14:34:43 -0000 1.54
+++ controls.xml 6 Nov 2007 12:05:13 -0000 1.55
@@ -260,6 +260,14 @@
</component>]]></programlisting>
<para>
+ If you are using a <emphasis>Managed Hibernate Session</emphasis>
+ then you need to set it in components.xml:
+ </para>
+ <programlisting><![CDATA[<component name="org.jboss.seam.ui.EntityConverter">
+ <property name="session">#{hibernateSession}</property>
+</component>]]></programlisting>
+
+ <para>
If you want to use more than one entity manager with the entity
converter, you can create a copy of the entity converter for each
entity manager; in components.xml:
More information about the jboss-cvs-commits
mailing list