[Grok-dev] Querying the CA for grok'ed Views

Souheil CHELFOUH trollfot at gmail.com
Sun Apr 19 19:16:47 EDT 2009

Lennart, views are registered as components providing Interface.
Meaning, if you want to query it, you can't specify anything more than
Interface for to retrieve it in the adapter registry.
That could be fixed in the view grokker. Instead of registering the
multi adapter as providing Interface, we could have it use the
grok.provides directive value instead and Interface if nothing is

- Souheil

2009/4/19 Lennart Regebro <regebro at gmail.com>:
> On Sun, Apr 19, 2009 at 22:43, Souheil CHELFOUH <trollfot at gmail.com> wrote:
>> I'm ping-ing that thread, to get people reaction about that.
>> I still think a view should be able to provide a specific interface.
> I don't understand the problem. Views can implement interfaces
> normally, I don't see a readon why that wouldn't be true under Grok.
> --
> Lennart Regebro: Python, Zope, Plone, Grok
> http://regebro.wordpress.com/
> +33 661 58 14 64

More information about the Grok-dev mailing list