[Grok-dev] Adapter lookup problem (is this a bug?)
Sebastian Ware
sebastian at urbantalk.se
Mon Sep 15 10:56:28 EDT 2008
I created a test app, but this too worked the way it should. In my
first use case I was using two different components, overriding the
adapter of the included component. If I get some time later in the
week I will set up that test too.
Mvh Sebastian
15 sep 2008 kl. 14.40 skrev Martijn Faassen:
> Sebastian Ware wrote:
>> After some experimenting I can confirm that the code bellow (minus
>> typos) works as expected.
>>
>> The problem I had was because I gave the two adapters the same class
>> name (in two different files of course). Is this a bug, or a feature,
>> in the adapter registry?
>
> The class name shouldn't matter. Could you provide a Python small grok
> application that demonstrates this behavior?
>
> Regards,
>
> Martijn
>
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev
More information about the Grok-dev
mailing list