velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nbu...@gmail.com>
Subject Re: Access public properties
Date Wed, 23 Feb 2011 20:37:23 GMT
On Wed, Feb 23, 2011 at 12:04 PM, Barbara Baughman
<baughman@utdallas.edu> wrote:
..
> Instead of trying to anticipate any security concerns down the road about
> exposing a public field, just follow best practice and provide a getter
> method.  I think there is also a VelocityTool that exposes public fields.
...

that and more, for those who want it...

http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/ClassTool.html

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


Mime
View raw message