[Zope-CMF] Re: Five: question on zcml

robert rottermann robert at redcor.ch
Wed Mar 29 23:11:33 EST 2006


Tres,
thanks for your answer,

the solution was more subtle (or blunt ??).

There was an acitons.ActionsToolXMLAdapter defined.
However the loading of the module failed due to bad imports.

thanks again
robert

Tres Seaver wrote:
> The factory for the adapter is identified using a "relative" lookup when
> its dotted name starts with a period.  You have a module,
> Products.RedPick.exportimport.actions, but it doesn't have that class.
> Products.CMFCore.exportimport.actions *does* have it.  You need to either:
>
>   - Point to the one in CMFCore, e.g.:
>     factory="Products.CMFCore.exportimport.acitons.ActionsToolXMLAdapter
>
>   - Import it or override it in your local actions module.
>
> Tres.
> - --
> ===================================================================
> Tres Seaver          +1 202-558-7113          tseaver at palladion.com
> Palladion Software   "Excellence by Design"    http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFEKp0W+gerLs4ltQ4RAoRTAKDZ8974r3lqGuWqla5EWukE7zMgqACbBHcz
> 8QIkWjWQIdUo75CXv32eLKw=
> =cu9G
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>
>   

-------------- 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/20060330/d0d9142e/robert.vcf


More information about the Zope-CMF mailing list