You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2003/10/31 13:30:15 UTC

cvs commit: jakarta-velocity/xdocs changes.xml user-guide.xml

geirm       2003/10/31 04:30:15

  Modified:    xdocs    changes.xml user-guide.xml
  Log:
  update changelog, and userguide had some wierd sentence indicating that
  you could only assign strings to references. Clearly wrong
  
  Revision  Changes    Path
  1.101     +10 -5     jakarta-velocity/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/xdocs/changes.xml,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -r1.100 -r1.101
  --- changes.xml	27 Oct 2003 12:42:58 -0000	1.100
  +++ changes.xml	31 Oct 2003 12:30:15 -0000	1.101
  @@ -66,13 +66,18 @@
    Henning. (gmj)
   </li>
   <li>
  -    Fix to DatasourceResourceLoader - stop using the old Runtime singleton as
  -    would leak a little memory for each instance of VelocityEngine created.
  -    Bug #17820, hunted down by Will Glas-Husain. (gmj)
  +Fix to DatasourceResourceLoader - stop using the old Runtime singleton as
  +would leak a little memory for each instance of VelocityEngine created.
  +Bug #17820, hunted down by Will Glas-Husain. (gmj)
   </li>
   <li>
  -SimplePool now removes elements from pool on a get(). Fix for #19042 suggested
  - by Will. (gmj)
  +SimplePool now removes elements from pool on a get(). NOTE : Previously, it left the
  +reference to the object in the pool.  Fix for #19042 suggested
  +by Will. (gmj)
  +</li>
  +<li>
  +Fix to bug #7697, suggested by Will.  Fixes problem with single line comment
  +embedded in a multi-line comment. (gmj)
   </li>
   </ul>
   
  
  
  
  1.67      +6 -3      jakarta-velocity/xdocs/user-guide.xml
  
  Index: user-guide.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/xdocs/user-guide.xml,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- user-guide.xml	23 Oct 2003 16:20:12 -0000	1.66
  +++ user-guide.xml	31 Oct 2003 12:30:15 -0000	1.67
  @@ -246,9 +246,12 @@
    <p>
       In the example above, the variable is <em>$a</em> and the value is
       <em>Velocity</em>. This variable, like all references, begins with
  -    the <em>$</em> character. Values are always enclosed in quotes; with
  -    Velocity there is no confusion about data types, as only strings
  -    (text-based information) may be passed to variables.
  +    the <em>$</em> character. String values are always enclosed in quotes, either
  +     single or double quotes.  Single quotes will ensure that the quoted value
  +     will be assigned to the reference as is.  Double quotes allow you to use
  +     velocity references and directives to interpolate, such as "Hello $name",
  +     where the <em>$name</em> will be replaced by the current value before
  +     that string literal is assigned to the left hand side of the <em>=</em>
    </p>
   
    <p>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org