Gary Poster wrote:
>> You can, of course, leave this as it is and implement the 'tiks'
>> vocabulary as:
>> def tiksLanguagesVocabulary(context):
>>     return LanguagesVocabulary(context, 'tiks')
>> and then register that as a regular IVocabularyFactory utility, in  case
>> you're keen on saving lines in Python or just hesitant to create 
>> classes.
> You then need to do a directlyProvides(tiksLanguagesVocabulary, 
> IVocabularyFactory) on the function so that the utility zcml doesn't 
> complain.


Zope3-dev mailing list

Reply via email to