Hedley Roos wrote:
> In zope/app/pagetemplate/simpleviewclass.py you'll see 'index' is an
> instance of ViewPageTemplateFile from
> zope.app.pagetemplate.viewpagetemplatefile.

I see thanks.

> macroContent needs work. So far I have my own code that can render
> macros in viewlets and portlets, and now you have code that can render
> macros in views.
> 
> We should discuss the way forward with Balazs and Godefroid.

Agreed, I think it would be great to have a one size fits all approach.

> You don't have to hack macroContent. You should have a "class
> KssView(Implicit, PloneKSSView)" declaration somewhere. Just subclass
> PloneKSSView, override the macroContent method and use that class as a
> mix-in instead of PloneKSSView.

Will do, so far I've been overriding it in my KssView class.

Cheers

_______________________________________________
Kss-devel mailing list
Kss-devel@codespeak.net
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to