hi folks,
here's a short addition to the docs for something that stopped me from
understanding velocity.
thanks,
ms
Index: docs/user-guide.html
===================================================================
RCS file: /home/cvspublic/jakarta-velocity/docs/user-guide.html,v
retrieving revision 1.37
diff -u -r1.37 user-guide.html
--- docs/user-guide.html 2001/05/30 02:12:14 1.37
+++ docs/user-guide.html 2001/06/11 19:11:39
@@ -1351,6 +1351,9 @@
Similarly, when a template refers to <em>$bar.Foo</em>, Velocity
will try <em>$getFoo()</em> first and then try <em>getfoo()</em>.
</p>
+ <p>
+ Note: References to normal instance variables in a template will not resolve
+ unless they have a bean method associated with them. ie: $foo.bar will not work
+ if bar is a public String in the class foo is an instance of.
</blockquote>
</p>
</td></tr>