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.
Vadim
