[Zope-CMF] Re: GenericSetup and Zope 2.8.5

robert rottermann robert at redcor.ch
Sun Mar 26 22:30:08 EST 2006


> You need to register the IBody adapter for your content object.  For
> example, see the GenericSetup/PythonScripts/configure.zcml, which has:
>
>  <configure
>     xmlns="http://namespaces.zope.org/zope"
>     xmlns:five="http://namespaces.zope.org/five"
>     >
>
>   <adapter
>       factory=".exportimport.PythonScriptBodyAdapter"
>       provides="Products.GenericSetup.interfaces.IBody"
>       for=".interfaces.IPythonScript
>            Products.GenericSetup.interfaces.ISetupEnviron"
>       />
>
>    ...
>
> Tres.
> - --
>   
thanks a lot
I see I have to dig into Five first.

How does Five know, that it should read my config file ?

robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: robert.vcf
Type: text/x-vcard
Size: 200 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20060327/279a195c/robert.vcf


More information about the Zope-CMF mailing list