I need to write a custom ZCML directive that takes a list of interfaces - something like

interfaces="Products.Foo.intefaces.IXXX, Products.Foo.interfaces.IYYY,..."

What is the recommended way to specify 'interfaces' within the schema
definition (as InterfaceField or as TextLine)?

InterfaceField did not work out-of-the-box complaining about a missing
fromUnicode attribute.

With a TextLine: what is the recommended way to get hold of the interface
represented by a string? Is there some magic available somewhere in Zope 3?


ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
E-Publishing, Python, Zope & Plone development, Consulting

Attachment: pgpPN49rMojq4.pgp
Description: PGP signature

Zope3-users mailing list

Reply via email to