--- Eric Fixler <[EMAIL PROTECTED]> wrote:

> Roughly speaking, instead of using the setXxx and
> getXxx pattern, these 
> packages use calls like document.getField("xxx") and
> 
> document.setField("xxx",value).
> 
> I'm wondering if the bean introspection layer of
> Velocity has any 
> mechanism whereby I could write an adapter class,
> with the ultimate 
> goal being the use of these classes (or Maps, for
> that matter) just 
> like regular old Java Beans in Velocity template,
> i.e. the adapter 
> class would generate the mapping so that
> $object.property would call 
> document.getField("xxx") instead of document.getXxx.

AFAIR you can plug in your custom introspector in
velocity.  It's all in the docs. 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Plugins for xdoclet-2 are releassed. check it out
http://www.sourceforge.net/projects/xdoclet-plugins/
----[ http://www.pribluda.de ]------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to