Hi all I've avoided plonekssview.macroContent for a while now since I had my own pattern from the PloneAzax days. I use kss very heavily in all my apps, so I've bumped into a few use cases which I don't think macroContent can handle.
1. It cannot render a macro in a viewlet. I have code that can do this. The real pain is getting at that viewlet incode though - the kss bit is easy. 2. It assumes context is aq_inner(self.context). I think self.header_macros.__of__(macroobj.aq_parent) basically boils down to that. Sometimes you want to specify a different context. 3. It does not allow setting variables in scope for the eventual template. It seems everything must be fetched from the request. This means I cannot re-use some templates. Apologies if I'm wrong in places. Like I said I have solutions to all the cases. I'd love to contribute. Hedley _______________________________________________ Kss-devel mailing list Kss-devel@codespeak.net http://codespeak.net/mailman/listinfo/kss-devel