From: Ugo C. <ug...@ap...> - 2004-10-02 08:11:13
|
Il giorno 01/ott/04, alle 22:46, Rod Johnson ha scritto: > Look at the beanshell support, also in the sandbox. This creates an > interface from the bean properties, along with an introduction to set > the > properties. Your introduction could use whatever API to "implement" the > setters. After asking the experts on the Mozilla list, I have already implemented a solution using the "JavaAdapter" construct from Rhino. But since it's not as transparent as I would like (Javascript beans have to implement a Java interface which declares setters for all properties), I am going to follow your suggestion and then decide what's better. > Good to meet you at JAOO! Ditto! :-) Ugo -- Ugo Cei - http://beblogging.com/ |