[Zope] Re: Using property() function in Zope 2.8

2006-07-06 Thread Rob Miller
On Thu, 06 Jul 2006 21:19:36 +0200, Max M wrote: I needed to dynamically generate local roles for an Archetypes based content object today. Different layers in my Plone stack breaks all rules and reads the __ac_local_roles__ variable directly, instead of calling get_local_roles() So to

Re: [Zope] Re: Using property() function in Zope 2.8

2006-07-06 Thread Fred Drake
On 7/6/06, Rob Miller [EMAIL PROTECTED] wrote: it's not an answer to your original question (i have nothing to add to what fred already replied) but TeamSpace solves this by using a ComputedAttribute instead of a property for the dynamic local roles. Yeah, I forgot all about ComputedAttribute.

[Zope] Re: Using property() function in Zope 2.8

2006-07-06 Thread Max M
Fred Drake wrote: On 7/6/06, Rob Miller [EMAIL PROTECTED] wrote: it's not an answer to your original question (i have nothing to add to what fred already replied) but TeamSpace solves this by using a ComputedAttribute instead of a property for the dynamic local roles. Yeah, I forgot all about