[Grok-dev] A simple view grokker?

Souheil CHELFOUH trollfot at gmail.com
Thu Mar 19 07:26:51 EDT 2009


I do understand the need
I already had to write several grokkers for components
not-so-different than classical views
This particular need you have matches also the Pagelet one and some other.
So, indeed, I think another grokker would be interesting
Also, I think the components should be a bit less monolithic. For now,
there's no mixins to get the functionalities without getting grokked.
If the strongest need is to have views with no template checking,
maybe a  simple way to configure the grokker would suffice ?

2009/3/19 Martin Aspeli <optilude+lists at gmail.com>:
> Souheil CHELFOUH wrote:
>> Hi Martin,
>>
>> You can register your simple view as a grok.MultiAdapter. When not
>> using it strictly as a rendering component, it makes more sense,
>> according to me.
>
> I don't think this is sufficient because you need support for
> grok.require() and the other extra work that the browser:view handler
> normally does.
>
> Martin
>
> --
> Author of `Professional Plone Development`, a book for developers who
> want to work with Plone. See http://martinaspeli.net/plone-book
>
> _______________________________________________
> 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