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

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.

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.

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

Reply via email to