[z3-five] Using vocabularies for Choice fields where the vocabulary is acquired
Hanno Schlichting
plone at hannosch.info
Tue Jan 2 07:43:41 CET 2007
Hi Ross,
Ross Patterson wrote:
>> Hanno Schlichting wrote:
>>
>>> I'm not sure that my approach is by any means good or advisable but you
>>> could take a look at the PortalTypesVocabulary in
>>> plone.app.controlpanel.vocabularies and its usage on the search control
>>> panel defined by the ISearchSchema in search.py in the same package.
>
> Ive been getting up to speed on Z3 schemas and I was wondering why
> plone.app.vocabularies uses vocabularies instead of sources?
As my first sentence should have told you, I'm by no means an expert or
even an advanced user of formlib. So vocabularies were just what I found
working for me quite easily.
I know there have been some talk on the Zope3 mailing list a while back
that vocabularies are going to be deprecated in favor of sources
someday, but it also sounded like sources are not yet as well documented
and easy to use.
If you could enlighten us how to use sources instead for one of the
vocabularies currently in plone.app.vocabularies that would be awesome.
Thx,
Hanno
More information about the z3-five
mailing list