Max M wrote:

btw. if setting __allow_access_to_unprotected_subobjects = 1 on the object doesn't work, the ImplicitAcquisitionWrapper most likely sets it to something else.

have you tried changing the order?

    w = Acquisition.ImplicitAcquisitionWrapper(o, self)
    w.__allow_access_to_unprotected_subobjects = 1
    return w



turns out to be a spelling error. Did a search for "allow_access_to" in lib/python. It gave me the following knowledge (:


Wrong spelling:

    __allow_access_to_unprotected_subobjects

Correct spelling:

    __allow_access_to_unprotected_subobjects__

after that, it works like a charm! Thanks for all the help though, it showed some neat techniques that may come in handy in the future.

Cheers,

/dario
--
-- -------------------------------------------------------------------
Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech.
"...and click? damn, I need to kill -9 Word again..." - b using macosx
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to