You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/12/09 00:18:47 UTC

DO NOT REPLY [Bug 25261] - vtl-reference-guide.xml #set example is wrong.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25261

vtl-reference-guide.xml #set example is wrong.

dlr@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From dlr@apache.org  2003-12-08 23:18 -------
You're right, thanks.

* xdocs/vtl-reference-guide.xml
  Corrected "Variable reference" example as pointed out by NIIHO
  Hiroshi.
                                                                                
Issue: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25261
                                                                                
                                                                                
Index: xdocs/vtl-reference-guide.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity/xdocs/vtl-reference-guide.xml,v
retrieving revision 1.34
diff -u -r1.34 vtl-reference-guide.xml
--- xdocs/vtl-reference-guide.xml       5 Oct 2003 21:28:38 -0000       1.34
+++ xdocs/vtl-reference-guide.xml       8 Dec 2003 23:18:08 -0000
@@ -135,8 +135,8 @@
     </p>
  
     <ul>
-      <li>Variable reference: #set( $monkey = "bill" )</li>
-      <li>String literal: #set( $monkey.Friend = "monica" )</li>
+      <li>Variable reference: #set( $monkey = $bill )</li>
+      <li>String literal: #set( $monkey.Friend = 'monica' )</li>
       <li>Property reference: #set( $monkey.Blame = $whitehouse.Leak
       )</li>
       <li>Method reference: #set( $monkey.Plan = $spindoctor.weave($web)


Checking in xdocs/vtl-reference-guide.xml;
/home/cvs/jakarta-velocity/xdocs/vtl-reference-guide.xml,v  <-- 
vtl-reference-guide.xml
new revision: 1.35; previous revision: 1.34
done
Mailing the commit message...

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