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

Gavin King gavin.king at jboss.com
Tue Feb 27 01:22:55 EST 2007


  User: gavin   
  Date: 07/02/27 01:22:55

  Modified:    doc/reference/en/modules  concepts.xml
  Log:
  minor note
  
  Revision  Changes    Path
  1.52      +7 -1      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.51
  retrieving revision 1.52
  diff -u -b -r1.51 -r1.52
  --- concepts.xml	27 Feb 2007 00:03:28 -0000	1.51
  +++ concepts.xml	27 Feb 2007 06:22:55 -0000	1.52
  @@ -448,7 +448,7 @@
           <sect2>
               <title>Component names</title>
               <para> 
  -                Almost all seam components need a name. We assign a name to a component using the
  +                All seam components need a name. We can assign a name to a component using the
                   <literal>@Name</literal> annotation: 
               </para>
   
  @@ -465,6 +465,12 @@
               </para>
   
               <para> 
  +                <literal>@Name</literal> is not the only way to define a component name, but we always need
  +                to specify the name <emphasis>somewhere</emphasis>. If we don't, then none of the other
  +                Seam annotations will function.
  +            </para>
  +
  +            <para> 
                   Just like in JSF, a seam component instance is usually bound to a context variable with the same name
                   as the component name. So, for example, we would access the <literal>LoginAction</literal> using
                   <literal>Contexts.getStatelessContext().get("loginAction")</literal>. In particular, whenever Seam
  
  
  



More information about the jboss-cvs-commits mailing list