> Behalf Of Adam Groszer
> Sent: Tuesday, May 16, 2006 8:32 AM
> To: zope3-dev
> Subject: [Zope3-dev] <vocabulary> BBB
> Hi there,
> I'm working on removing BBB warnings of our current app for 3.3.
> For the <vocabulay> directive it was possible to give the
> factory some parameters like this:
> containerName="doctype" />
> Now, with the <utility> directive that's not possible.
Write a own factory like:
self.containerName = 'doctype'
and also you have to *patch* your class with :
then use the factory like:
It's simple isn't it?
the *good* thing is if you use this vocabulary for
twenty vocabularies, you have to do this for each
of them. This is realy ugly, but simple.
Zope3-dev mailing list