[Zope] Upload to a subfolder using an External Method
Adam Warner
lists@consulting.net.nz
05 Nov 2001 23:39:19 +1300
On Tue, 2001-11-06 at 01:20, Tino Wildenhain wrote:
> No. There is nothing like "the current folder" or something
> like that. ZOPE consists of a pile of objects - or more precisely
> a tree of objects. So if you have a method like yours above,
> self is simply a reference to an object in the tree.
> Any sibling is referenced by name.
> If your folder-object is called "cached", you can access its
> method manage_addFile() like
> that:
>
> self.cached.manage_addFile()
Thank you Tino I really appreciated the explanation that accompanied the
answer. I am beginning to achieve enlightenment.
BTW everyone, the BOFH takes on Content Management Systems:
http://www.theregister.co.uk/content/30/22650.html
Regards,
Adam