[Zope-dev] Getting parent within ZClass hierarchy

Arno Gross arno.gross@consotec.de
Fri, 9 Feb 2001 13:16:19 -0100


Easy question, but I couldn't find the answer.
How can I access the id (or title) of the parent 
containing my current object?

E.g.

NewsContainer
  |---NewsCategory  ( ZClass - ObjectManager)
             |---NewsItem (ZClass - CatalogAware)

I'm looking for a method (Python script) in NewsItem, which give me the id or
title of its parent.

Thanks
   Arno Gross, email: arno.gross@consotec.de