[Zope] Starting a search from the correct folder

John Poltorak jp at warpix.org
Sat Jul 2 10:52:52 EDT 2005


On Fri, Jul 01, 2005 at 08:15:20PM +0200, Dieter Maurer wrote:
> 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?

I have problems with the terminology which Zope uses, but I think you 
understand what I meant.

 
> When you are ready to look up (in the hierarchy), then
> 
>      obj.aq_inner.aq_parent
> 
> is the hierarchy parent of "obj".

Well that would be useful if I understood what you meant. Is there a 
suggested explanation anywhere with some sample code which uses this 
construct?

 
> -- 
> Dieter


-- 
John




More information about the Zope mailing list