[Grok-dev] Why must a CodeView have a render() method?

Martin Aspeli optilude+lists at gmail.com
Mon Jul 13 08:17:47 EDT 2009


Sylvain Viollon wrote:

>   Well, CodeView is fairly new and have been created at the Europython
>   sprint. I guess we need to support it in five.grok: it will be adding
>   Acquistion.Explicit as base class of CodeView here, to make the Zope
>   2 publisher happy.

Yep, that's what I figured. I don't know if we'll need a different 
grokker too?

>   Maybe we can do a release 1.0 of five.grok right after (Godefroid was
>   asking for at the Europython).

Yeah, that'd rock. Right now, it's impossible to use a non-template 
five.grok.CodeView, so you either have to downgrade grokcore.view or 
have templates for everything.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Grok-dev mailing list