[Zope] Developing customer customizable products
Lennart Regebro
regebro at nuxeo.com
Fri Dec 5 08:12:15 EST 2003
From: "Petter Holmström" <petter.holmstrom at abo.fi>
> def index_html(self, REQUEST):
> template = DTMLFile( self.private_views['view'], globals()
> ).__of__(self)
> return template()
> Now I just have to figure out why this works... :-)
Because the things you need are acquired, and to acquire you need to wrap
the object. This is done automatically if it's an attribute, but in this
case it isn't.
More information about the Zope
mailing list