[Zope] Override members values
lists at zopyx.com
Mon Jul 10 03:24:42 EDT 2006
--On 10. Juli 2006 09:07:58 +0200 Garito <garito at sistes.net> wrote:
> Andreas Jung escribió:
>> --On 10. Juli 2006 08:38:15 +0200 Garito <garito at sistes.net> wrote:
>>> Hi all!
>>> I need to override the value of some members of my product
>>> I think the correct way was __getattr__ function but I read some list's
>>> messages telling to use __getattr__ only if you don't have other way
>> The standard Zope users objects don't provide an API for additional
>> attributes. CMF/Plone provide such support through portal_memberdata.
>>> How can I override only the value of some dynamic members
>>> I call dynamic members to the members that the user adds (with a
>>> or an object)
>> What are dynamic members? This is not a term used in the Zope world.
> I would like to pre-process the member. A dynamic member (sorry for the
> term) is pre-processed member
> I would like to create some properties like:
> object.member1 = "[/some/path]"
members? In the Zope context we talk of "users". "members" are a CMF term.
And users aren't attributes of objects.
Really no idea what you want to achive...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060710/47daf7f1/attachment.bin
More information about the Zope