[Grok-dev] Grokker actions branch merged!

Martijn Faassen faassen at startifact.com
Wed Oct 31 07:43:30 EDT 2007


On 10/30/07, Philipp von Weitershausen <philipp at weitershausen.de> wrote:
> I've now merged the gotcha-configuration-actions branch to the trunk.
> This has the following implications for applications running against the
> trunk (or for applications that will eventually be ported to grok 0.11) [1]:

Great news! A long-standing item on our wishlist has been resolved.
This means Grok just got a lot more compatible with Zope 3.

>      config.action(
>          descriminator=('somecomponent', name),
>          callable=registerSomeComponent,
>          args=(name,)
>          )
>    The descriminator should be chosen so that registrations with the
>    same descriminator conflict (in the above example, if somebody tried
>    to register two different components under the same name, you'd get
>    a conflict).

I think that should be spelled 'discriminator'.



More information about the Grok-dev mailing list