cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: Rhino beans
Date Thu, 30 Sep 2004 11:51:07 GMT
Ugo Cei wrote:

> Il giorno 30/set/04, alle 12:52, Vadim Gritsenko ha scritto:
>> Probably not much help, but PropertyHello JS Bean will be seen from 
>> Java code as org.mozilla.javascript.Scriptable. If you can plug it in 
>> into BeanUtils, than you can use BeanUtils.
> Please explain what you mean by "plug it into BeanUtils" :-)

Hm, after looking at it, it seems that BeanUtils has no pluggable introspection. 
So (IMHO) you only other option is to implement JSWrapDynaBean (see WrapDynaBean 
for inspirations) and wrap each JS object into it when passing to the Java code.


View raw message