Hi,

Finally started working on migrating to Zope 2.9.3/CMF 2!

Trying to get some GenericSetup functionality around my classes.

I've created my own "adapter" which is based on PropertiesXMLAdapter (for
now).

For some reason however, queryMultiAdapter seems intent on returning
PropertiesXMLAdapter, and not my own!

I have:

----

class PortalLocalizerTool(UniqueObject, SimpleItemWithProperties):

    implements(IPortalLocalizer)

----

<configure xmlns="http://namespaces.zope.org/zope";>

  <adapter factory=".portallocalizer.PortalLocalizerXMLAdapter"/>

</configure>

----

class PortalLocalizerXMLAdapter(XMLAdapterBase, PropertyManagerHelpers):

    """ XML im- and exporter for properties. """

    adapts(IPortalLocalizer, ISetupEnviron)

---

The import step works but using the wrong adapter :(

Did I miss something?

Thanks!

Jean-François Doyon
Internet Service Development and Systems Support / Spécialiste de
dèveloppements internet et soutien technique
Canada Centre for Remote Sensing/Centre Canadien de télédétection
Natural Resources Canada/Ressources Naturelles Canada
http://atlas.gc.ca
Tel./Tél.: (613) 992-4902
Fax: (613) 947-2410
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to