Re: Hacked Member support

Stephan Richter <[email protected]> Tue, 11 Dec 2001 15:56:50 -0600
Newsgroups gmane.comp.web.zope.zmailman
Message-ID <[email protected]>
>I noticed that when you clicked on a member it was giving you an 
>AttributeError so I modified __bobo_traverse__ in ZMailList to return a 
>Member object if the name exists in the membership list.

that's cool. You know, it is also available under list.members.memberid

>Note: I don't claim that it's correct because I don't honestly know what 
>the __of__(self) part is doing.  I just copied it out of MailmanFolder.py 
>and it seemed to work :)

Well, __of__ is easy and often overrated (except the internals; they are 
cool of course). All what __of__ does is it binds an instance to another 
class, so that object.__of__(parent) makes object a child of parent and all 
Acquisition and what I don;t know works magically. Cool, eh?

Regards,
Stephan


--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management