> Use ExtensionClass.ComputedAttribute instead: > > from ExtensionClass import ComputedAttribute > > �...@computedattribute > def foo(self): > # self now remains Acquisition wrapped
Thanks Martijn. BTW I accidentally posted to the plone-dev list where Ross also replied but I'll stick to this list. I have to do "from ComputedAttribute import ComputedAttribute". This is for Zope 2.10 (think so) and Plone 3.3. I still cannot get it to work. It is not a train smash but even so I'd like to know what is wrong. How did you know you can use ComputedAttribute as a decorator? Hedley _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
