On Aug 31, 2009, at 8:15 AM, Hedley Roos wrote:

Hi

I have a Dexterity custom class. I decorate a method foo with @property
but inside the method 'self' is not acquisition wrapped anymore. I'm
sure the object is wrapped before my attempt to access ob.foo

I'm sure it is not related to Dexterity but I mention it in case.

So the question is: should I be surprised that it is not working?


This is a known side effect of the @property decorator. Not sure what the best workaround is. Anyone?


David Glick
Web Developer
ONE/Northwest

New tools and strategies for engaging people in protecting the environment

http://www.onenw.org
[email protected]
work: (206) 286-1235 x32
mobile: (206) 679-3833

Subscribe to ONEList, our email newsletter!
Practical advice for effective online engagement
http://www.onenw.org/full_signup





_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to