Re: [Zope-dev] Proper Use of __init__ inside Zope Products?

2002-12-13 Thread Dieter Maurer
Jeff Rush writes: > Can a Zope-internals guru provide some enlightenment regarding the > mysteries of __init__? Are there mysteries? I do not think so. "__init__" behaves in Zope exactly the same as it does in Python. It behaves differently than (most) other methods in that its "self" is (of co

Re: [Zope-dev] Calling in Context

2002-12-13 Thread Brian R Brinegar
Okay, I've found that if I use "self" in place of "self.aq_parent" when calling "getattr" it gets the attribute in the context of self and everything works great! -Brian On Fri, 13 Dec 2002, Brian R Brinegar wrote: > Howdy, > > Overview: > > I'm working on a helper product for Zope Presentatio

[Zope-dev] Calling in Context

2002-12-13 Thread Brian R Brinegar
Howdy, Overview: I'm working on a helper product for Zope Presentation Templates. The goal of this product is to allow people to drop static content into a site developed with Zope Presentation Templates using WebDAV clients. (This is similar to the Kube Product but it's not folderish and support