[Grok-dev] registering vocabulary

Christian Klinger cklinger at novareto.de
Wed Apr 13 12:29:26 EDT 2011


Hi Paolo,

can you paste the traceback of the error.

And how you registerd the utility?

-Christian

> I was used to register a vocabulary with grok.global_utility but in 1.4
> now the lookup fail.
>
> Registering the vocabulary factory directly with
>
> getVocabularyRegistry().register(u'my_vocabulary',
> MyVocabulary())
> seems work fine.
> Something has changed and is this the correct way to register
> vocabulary factories in grok now ?
>
>
> Paolo Piersanti
>
>
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev




More information about the Grok-dev mailing list