On Wed, Dec 30, 2009 at 1:34 PM, Daryl Stultz <[email protected]> wrote:
> Is there any way to automatically unwrap the object being added to the > collection? Do I need to wrap all collections and implement add(), put(), > etc. in order to unwrap it as it's being added? > > Between a WrapFactory and collection wrappers, I think I've finally settled on a solution that will work. My wrapper classes will be pretty straightforward overriding add/put, etc. to unwrap the JS classes and put the domain delegate into the collection. The proof of concept with an "AutoUnwrappingList" appears to be working. -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:[email protected] _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
