[Grok-dev] Alternative Layout System in Grok with z3c.template/z3c.pagelet

Souheil CHELFOUH trollfot at gmail.com
Wed Mar 18 17:15:55 EDT 2009


As far as I can see, Pagelets are Views with a different __call__
method that looks for the layout.
I also see that you entirely recoded the grokker for that component.
Wouldn't that be smart to make a megrok.pagelet.Pagelet  inherit from
grok.View as a baseclass, and simply redefine the __call__ method and
the namespace (if needed) ?
Here, using a brand new component will make it hardly maintainable, as
it already lacks 'flash' and 'application_url' from the IGrokView.


2009/3/18 Jan Ulrich Hasecke <juhasecke at googlemail.com>:
>
> Am 18.03.2009 um 10:12 schrieb Christian Klinger:
>
>> This is a short summary what?s the current status of
>> megrok.pagelt:
>
>
> Is there any example code. I would like to play around and need a
> kick-start.
>
> juh
> _______________________________________________
> 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