Re: [Zope3-Users] folder list in a vocabulary

2005-10-18 Thread Stephan Richter
On Tuesday 18 October 2005 08:32, [EMAIL PROTECTED] 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 th

Re: [Zope3-Users] folder list in a vocabulary

2005-10-18 Thread Stephan Richter
On Tuesday 18 October 2005 08:32, [EMAIL PROTECTED] wrote: > I'm writing an application that have an 'authors' folder and a 'book' > folder. > > A book should have one or more authors. > I implemented "author" as a Choice field in every book, and I'm trying a > vocabulary to bring me the list of au

[Zope3-Users] folder list in a vocabulary

2005-10-18 Thread gnotari
I'm writing an application that have an 'authors' folder and a 'book' folder. A book should have one or more authors. I implemented "author" as a Choice field in every book, and I'm trying a vocabulary to bring me the list of authors to choose from. I'm stuck 'cause I can't make out how to obtain