[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Peter Muir peter at bleepbleep.org.uk
Tue Apr 17 05:45:40 EDT 2007


  User: pmuir   
  Date: 07/04/17 05:45:40

  Modified:    doc/reference/en/modules   controls.xml persistence.xml
  Log:
  s:convertEntity requires TransactionalSeamPhaseListener
  
  Revision  Changes    Path
  1.33      +10 -3     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.32
  retrieving revision 1.33
  diff -u -b -r1.32 -r1.33
  --- controls.xml	27 Mar 2007 19:40:52 -0000	1.32
  +++ controls.xml	17 Apr 2007 09:45:40 -0000	1.33
  @@ -177,8 +177,7 @@
   
               <para>
                 The converter works with any entity which has an <literal>@Id</literal> annotation -
  -              either simple or composite.  If your <emphasis>Managed Persistence Context</emphasis> isn't called
  -              <literal>entityManager</literal>, then you need to set it in components.xml:
  +              either simple or composite.
               </para>
   
               <para><emphasis>Attributes</emphasis></para>
  @@ -189,6 +188,14 @@
   
               <para><emphasis>Configuration</emphasis></para>
   
  +            <para>
  +              You must use <emphasis>Seam managed transactions</emphasis> (see <xref linkend="persistence.seam-managed-transactions" />) with <literal>&lt;s:convertEntity /&gt;</literal>.
  +            </para>
  +            
  +            <para>
  +              If your <emphasis>Managed Persistence Context</emphasis> isn't called
  +              <literal>entityManager</literal>, then you need to set it in components.xml:
  +            </para>
               <programlisting><![CDATA[
     <component name="org.jboss.seam.ui.entityConverter">
         <property name="entityManager">#{em}</property>
  
  
  
  1.9       +1 -1      jboss-seam/doc/reference/en/modules/persistence.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: persistence.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/persistence.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- persistence.xml	25 Feb 2007 22:14:53 -0000	1.8
  +++ persistence.xml	17 Apr 2007 09:45:40 -0000	1.9
  @@ -76,7 +76,7 @@
       
       </section>
       
  -    <section>
  +    <section id="persistence.seam-managed-transactions">
           <title>Seam managed transactions</title>
           <para>
               EJB session beans feature declarative transaction management. The EJB container is able
  
  
  



More information about the jboss-cvs-commits mailing list