On Thu, Oct 7, 2010 at 8:21 AM, Charlie Clark <charlie.cl...@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 _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )