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

Peter Muir peter at bleepbleep.org.uk
Tue Aug 7 11:18:05 EDT 2007


  User: pmuir   
  Date: 07/08/07 11:18:05

  Modified:    doc/reference/en/modules   components.xml i18n.xml
  Log:
  Attempt at JBSEAM-1705
  
  Revision  Changes    Path
  1.65      +12 -3     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.64
  retrieving revision 1.65
  diff -u -b -r1.64 -r1.65
  --- components.xml	10 Jul 2007 10:23:43 -0000	1.64
  +++ components.xml	7 Aug 2007 15:18:05 -0000	1.65
  @@ -302,15 +302,24 @@
                   <term><literal>org.jboss.seam.core.resourceBundle</literal></term>
                   <listitem>
                       <para>
  -                        The Seam resource bundle. The resource bundle is session scoped. The Seam
  +                        The Seam resource bundle. The resource bundle is stateless. The Seam
                           resource bundle performs a depth-first search for keys in a list of Java
                           resource bundles.
                       </para>
  +                </listitem>
  +            </varlistentry>
  +            <varlistentry>
  +                <term><literal>org.jboss.seam.core.resourceLoader</literal></term>
  +                <listitem>
  +                    <para>
  +                        The resource loader provides access to application resources and resource bundles.
  +                    </para>
                       <itemizedlist>
                           <listitem>
                           <para>
  -                            <literal>resourceBundle.bundleNames</literal> &#8212; the names of 
  -                            the Java resource bundles to search. Default to <literal>messages</literal>.
  +                            <literal>resourceLoader.bundleNames</literal> &#8212; the names of 
  +                            the Java resource bundles to search when the Seam resource bundle is
  +                            used. Default to <literal>messages</literal>.
                           </para>
                           </listitem>
                       </itemizedlist>
  
  
  
  1.22      +5 -7      jboss-seam/doc/reference/en/modules/i18n.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i18n.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/i18n.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -b -r1.21 -r1.22
  --- i18n.xml	21 Jul 2007 21:25:22 -0000	1.21
  +++ i18n.xml	7 Aug 2007 15:18:05 -0000	1.22
  @@ -91,12 +91,10 @@
       <section>
           <title>Defining labels</title>
           <para>
  -            Each login session has an associated instance of 
  -            <literal>java.util.ResourceBundle</literal> (available to the 
  -            application as a session-scoped component named 
  -            <literal>org.jboss.seam.core.resourceBundle</literal>). You'll need to 
  -            make your internationalized labels available via this special resource 
  -            bundle. By default, the resource bundle used by Seam is named 
  +            Seam provides a <literal>java.util.ResourceBundle</literal> (available 
  +            to the application as a <literal>org.jboss.seam.core.resourceBundle</literal>). 
  +            You'll need to make your internationalized labels available via this special 
  +            resource bundle. By default, the resource bundle used by Seam is named 
               <literal>messages</literal> and so you'll need to define your labels 
               in files named <literal>messages.properties</literal>, 
               <literal>messages_en.properties</literal>,
  @@ -120,7 +118,7 @@
           <para>
               You can select a different name for the resource bundle by setting
               the Seam configuration property named
  -            <literal>org.jboss.seam.core.resourceBundle.bundleNames</literal>. You can even specify
  +            <literal>org.jboss.seam.core.resourceLoader.bundleNames</literal>. You can even specify
               a list of resource bundle names to be searched (depth first) for
               messages.
           </para>
  
  
  



More information about the jboss-cvs-commits mailing list