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

Gavin King gavin.king at jboss.com
Thu Dec 14 14:39:12 EST 2006


  User: gavin   
  Date: 06/12/14 14:39:12

  Modified:    doc/reference/en/modules    components.xml concepts.xml
                        framework.xml
  Log:
  fix probs in doc
  
  Revision  Changes    Path
  1.51      +1 -1      jboss-seam/doc/reference/en/modules/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/components.xml,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -b -r1.50 -r1.51
  --- components.xml	20 Nov 2006 20:14:27 -0000	1.50
  +++ components.xml	14 Dec 2006 19:39:12 -0000	1.51
  @@ -1310,7 +1310,7 @@
                       <itemizedlist>
                           <listitem>
                           <para>
  -                            <literal>org.jboss.seam.core.hibernate.cfgResourceName</literal> &mdash; 
  +                            <literal>&lt;sessionFactory&gt;.cfgResourceName</literal> &mdash; 
                               the path to the configuration file. Default to <literal>hibernate.cfg.xml</literal>.
                           </para>
                           </listitem>
  
  
  
  1.47      +2 -2      jboss-seam/doc/reference/en/modules/concepts.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: concepts.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/concepts.xml,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -b -r1.46 -r1.47
  --- concepts.xml	13 Dec 2006 11:07:05 -0000	1.46
  +++ concepts.xml	14 Dec 2006 19:39:12 -0000	1.47
  @@ -593,8 +593,8 @@
               </para>
               <para> 
                   Or, if you're not quite ready for the Brave New World of EJB 3.0, you can write a Seam application
  -                that uses only JavaBean components, together with Hibernate3 for persistence, by installing the built-in
  -                component <literal>org.jboss.seam.core.hibernate</literal>. When using Hibernate outside of a J2EE
  +                that uses only JavaBean components, together with Hibernate3 for persistence, by installing a built-in
  +                component that manages a Hibernate <literal>SessionFactory</literal>. When using Hibernate outside of a J2EE
                   environment, you will also probably need a JTA transaction manager and JNDI server, which are available
                   via the built-in component <literal>org.jboss.seam.core.microcontainer</literal>. This lets you use the
                   bulletproof JTA/JCA pooling datasource from JBoss application server in an SE environment like Tomcat!
  
  
  
  1.13      +21 -11    jboss-seam/doc/reference/en/modules/framework.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: framework.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/framework.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- framework.xml	14 Dec 2006 07:19:04 -0000	1.12
  +++ framework.xml	14 Dec 2006 19:39:12 -0000	1.13
  @@ -40,7 +40,9 @@
               <literal>Contact</literal> entity:
           </para>
           
  -        <programlisting><![CDATA[<framework:entity-home name="personHome" entity-class="eg.Person" entity-manager="#{personDatabase}">
  +        <programlisting><![CDATA[<framework:entity-home name="personHome" 
  +                       entity-class="eg.Person" 
  +                       entity-manager="#{personDatabase}">
       <framework:id>#{param.personId}</framework:id>
   </framework:entity-home>]]></programlisting>
   
  @@ -52,7 +54,7 @@
           <programlisting><![CDATA[@Stateful
   @Name("personHome")
   public class PersonHome extends EntityHome<Person> implements LocalPersonHome {
  -    @RequestParameter Long personId;
  +    @RequestParameter String personId;
       @In EntityManager personDatabase;
       
       public Object getId() { return personId; }
  @@ -155,9 +157,11 @@
               line to <literal>components.xml</literal>:
           </para>
           
  -        <programlisting><![CDATA[<factory name="person" value="#{personHome.instance}"/>
  +        <programlisting><![CDATA[<factory name="person" 
  +         value="#{personHome.instance}"/>
   
  -<framework:entity-home name="personHome" entity-class="eg.Person" />]]></programlisting>
  +<framework:entity-home name="personHome" 
  +                       entity-class="eg.Person" />]]></programlisting>
   
           <para>
               (If we are using configuration.)
  @@ -231,11 +235,15 @@
               nationality initialized. We can do that easily, via configuration:
           </para>
   
  -        <programlisting><![CDATA[<factory name="person" value="#{personHome.instance}"/>
  +        <programlisting><![CDATA[<factory name="person" 
  +         value="#{personHome.instance}"/>
   
  -<framework:entity-home name="personHome" entity-class="eg.Person" new-instance="#{newPerson}"/>
  +<framework:entity-home name="personHome" 
  +                       entity-class="eg.Person" 
  +                       new-instance="#{newPerson}"/>
   
  -<component name="newPerson" class="eg.Person">
  +<component name="newPerson" 
  +           class="eg.Person">
       <property name="nationality">#{country}</property>
   </component>]]></programlisting>
            
  @@ -292,7 +300,8 @@
               successful. To customize these messages we can, again, use configuration:
           </para>
            
  -        <programlisting><![CDATA[<factory name="person" value="#{personHome.instance}"/>
  +        <programlisting><![CDATA[<factory name="person" 
  +         value="#{personHome.instance}"/>
   
   <framework:entity-home name="personHome"
           entity-class="eg.Person"
  @@ -302,7 +311,8 @@
       <framework:updated-message>Person #{person.firstName} #{person.lastName} updated</framework:updated-message>
   </framework:entity-home>
   
  -<component name="newPerson" class="eg.Person">
  +<component name="newPerson" 
  +           class="eg.Person">
       <property name="nationality">#{country}</property>
   </component>]]></programlisting>
            
  
  
  



More information about the jboss-cvs-commits mailing list