[Zope3-Users] folder list in a vocabulary

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 18 08:41:03 EDT 2005


On Tuesday 18 October 2005 08:32, gnotari at linkgroup.it wrote:
> I'm stuck 'cause I can't make out how to obtain the list of objects,
> contained in the authors folder, from the vocabulary context.

The easiest would be to get the site:

site = zope.component.hooks.getSite()

This should be main, so that

site['authors'].keys()

is what you want.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list