7 Oct
2010
7 Oct
'10
12:34 p.m.
On Thu, Oct 7, 2010 at 8:21 AM, Charlie Clark <charlie.clark@clark-consulting.eu> wrote:
I was wondering whether it's possible to use callables for schema vocabularies without registering them first? ... I'm sure it should be possible but my weak and feeble brain has somehow failed to solve the puzzle!
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. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> "A storm broke loose in my mind." --Albert Einstein