dlr         01/06/11 12:44:03

  Modified:    docs     user-guide.html
               xdocs    user-guide.xml
  Log:
  * Changed some <em> tags around code samples to <code> tags.
  
  * Merged in patch from Michael Salmon <[EMAIL PROTECTED]> which notes Velocity's
  non-support of public instance variables.  This contains edits by myself.
  
  * Removed a stray space character.
  
  Revision  Changes    Path
  1.38      +12 -4     jakarta-velocity/docs/user-guide.html
  
  Index: user-guide.html
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/docs/user-guide.html,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- user-guide.html   2001/05/30 02:12:14     1.37
  +++ user-guide.html   2001/06/11 19:43:58     1.38
  @@ -1346,11 +1346,19 @@
       Sun Microsystems, is case sensitive; however, its developers have
       strove to catch and correct user errors wherever possible. 
       When the method <em>getFoo()</em> is referred to in a template
  -    by <em>$bar.foo</em>, Velocity will first try <em>$getfoo</em>.
  -    If this fails, it will then try <em>$getFoo</em>.
  -    Similarly, when a template refers to <em>$bar.Foo</em>, Velocity
  +    by <code>$bar.foo</code>, Velocity will first try <code>$getfoo</code>.
  +    If this fails, it will then try <code>$getFoo</code>.
  +    Similarly, when a template refers to <code>$bar.Foo</code>, Velocity
       will try <em>$getFoo()</em> first and then try <em>getfoo()</em>.
       </p>
  +                                                <p>
  +    Note: <em>References to instance variables in a template are not
  +    resolved.</em> Only references to the attribute equivalents of
  +    JavaBean getter/setter methods are resolved
  +    (i.e. <code>$foo.Name</code> does resolve to the class Foo's
  +    <code>getName()</code> instance method, but not to a public
  +    <code>Name</code> instance variable of Foo).
  +    </p>
                               </blockquote>
           </p>
         </td></tr>
  @@ -1590,7 +1598,7 @@
                                                   <p>
       By default, this feature of using single quotes to render unparsed
       text is available in Velocity. This default can be changed by
  -    editing <code> velocity.properties</code> such that
  +    editing <code>velocity.properties</code> such that
       <code>stringliterals.interpolate=false</code>.
    </p>
                               </blockquote>
  
  
  
  1.41      +13 -4     jakarta-velocity/xdocs/user-guide.xml
  
  Index: user-guide.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/xdocs/user-guide.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- user-guide.xml    2001/04/20 16:15:39     1.40
  +++ user-guide.xml    2001/06/11 19:44:02     1.41
  @@ -767,12 +767,21 @@
       Sun Microsystems, is case sensitive; however, its developers have
       strove to catch and correct user errors wherever possible. 
       When the method <em>getFoo()</em> is referred to in a template
  -    by <em>$bar.foo</em>, Velocity will first try <em>$getfoo</em>.
  -    If this fails, it will then try <em>$getFoo</em>.
  -    Similarly, when a template refers to <em>$bar.Foo</em>, Velocity
  +    by <code>$bar.foo</code>, Velocity will first try <code>$getfoo</code>.
  +    If this fails, it will then try <code>$getFoo</code>.
  +    Similarly, when a template refers to <code>$bar.Foo</code>, Velocity
       will try <em>$getFoo()</em> first and then try <em>getfoo()</em>.
       </p> 
   
  +    <p>
  +    Note: <em>References to instance variables in a template are not
  +    resolved.</em> Only references to the attribute equivalents of
  +    JavaBean getter/setter methods are resolved
  +    (i.e. <code>$foo.Name</code> does resolve to the class Foo's
  +    <code>getName()</code> instance method, but not to a public
  +    <code>Name</code> instance variable of Foo).
  +    </p>
  +
   </section>
   
   
  @@ -899,7 +908,7 @@
    <p>
       By default, this feature of using single quotes to render unparsed
       text is available in Velocity. This default can be changed by
  -    editing <code> velocity.properties</code> such that
  +    editing <code>velocity.properties</code> such that
       <code>stringliterals.interpolate=false</code>.
    </p>
   </section>
  
  
  

Reply via email to