[Zope] Re: Accessing properties of the folder of a document

Dieter Maurer dieter@handshake.de
Fri, 7 Dec 2001 23:57:42 +0100


Tille, Andreas writes:
 > On Fri, 7 Dec 2001, Dieter Maurer wrote:
 > 
 > >    "object.id", "object.title", ....
 > >
 > > But, in earlier posts, I saw, you do that already...
 > > Maybe, I do not understand your question...
 > If I call this from a DTMLDocument I do not know the name of 'object'
 > because I did not found a method to get the *name* of the folder the
 > document is residing in.
In a DTML Document (not Method!), you can try "aq_parent".

I expect it to work but did not try it...


Dieter