On Tuesday 18 October 2005 08:32, [EMAIL PROTECTED] wrote:
> I'm writing an application that have an 'authors' folder and a 'book'
> 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 the list of objects,
> contained in the authors folder, from the vocabulary context.
Note that I would strongly suggest using a relationship framework for this
sort of use case. A good API is provided by ``schooltool.relationship`` and
is heavily used in the SchoolTool code, so you have many examples.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-users mailing list