[Zope] how to know the parent folder
Casey Duncan
cduncan@kaivo.com
Mon, 14 May 2001 09:35:19 -0600
Arkaitz Bitorika wrote:
>
> Hi all,
>
> I've got some ZClasses in folderish objets, and I'd like to know how can
> I get from each object which is the parent folder in which it is stored.
> I guess this a very simple thing, but I haven't found the way yet ;).
> Any hint?
>
> TIA,
> arkaitz.
>
In Python Script:
parent = container.aq_parent
In DTML:
<dtml-with name="aq_parent">
..You are now working with the parent...
</dtml-with>
hth,
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>