If you use BeansWrapper, then yes, you will be able to do that. This
is due to the fact that if the object has no static property of the
requested name, but does have either a "public <any-return-value> get
(Object)" or "public <any-return-value> get(String)" method, then its
BeanModel wrapper will invoke that. This works for any class declaring
a get() method, without the need to declare any particular interface.
So, it accidentally works with DynaBean :-) If Apache folks would've
named the method something other than get(), you'd be out of luck :-)
Attila.
On 2009.10.14., at 23:02, Jeremy Chone wrote:
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
FreeMarker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freemarker-user