Re: Fun with vocabularies

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Organization Clark Consulting & Research
Message-ID <[email protected]>
Am 07.10.2010, 14:34 Uhr, schrieb Fred Drake <[email protected]>:

> Have you tried using a callable that provides
> zope.schema.interfaces.IContextSourceBinder?
> Looking at the code in 3.7.0 (the newest zope.schema in my egg cache),
> that should work out of the box.

Thanks for the tip. For a vocabulary it has to provide IBaseVocabulary as  
well, although I guess I can just define a source. Unfortunately I'm  
getting now getting an AssertionError when the widgets are setup but I now  
know where to look.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.