velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrés Sanín M. <asa...@gmail.com>
Subject suggestion
Date Fri, 18 Mar 2005 07:26:32 GMT
Hi, i have a sugestion for you to change in the User's guide:

// in section "Case Substitution", you make the following example:

$foo.getBar()
## is the same as
$foo.Bar


// ...then in the text below that, you use similar notation to say:

............ When the method getFoo() is referred to in a template by
$bar.foo, Velocity will first try $getfoo. If this fails, it will then
try $getFoo. Similarly, when a template refers to $bar.Foo, Velocity
will try $getFoo() first and then try getfoo().


// some people could get confused if they try to relate both, so i
think it would be better to change the text below to:

............ When the method getBar() is referred to in a template by
$foo.bar, Velocity will first try $getbar. If this fails, it will then
try $getBar. Similarly, when a template refers to $foo.Bar, Velocity
will try $getBar() first and then try getbar().


Thanks for 'listening',
Andrés

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


Mime
View raw message