[Zope] Starting a search from the correct folder

Dieter Maurer dieter at handshake.de
Fri Jul 1 14:15:20 EDT 2005


John Poltorak wrote at 2005-6-30 22:27 +0100:
> ...
>If I want to generate a list 
>of folders in say the 'groups' folder, how would I change the code above?

You are aware that you will not get a list (but a tree) when you
look down from some starting point?

When you are ready to look up (in the hierarchy), then

     obj.aq_inner.aq_parent

is the hierarchy parent of "obj".

-- 
Dieter


More information about the Zope mailing list