Previously Philipp von Weitershausen wrote: > ViewPageTemplateFile etc. are only meant to be used as class attributes, > never as instance attributes. This statement is also true for the > current, acquisition-based one from Five.
Is that documented anywhere? I can't seem to find any interface or docstring that documents that. > In my opinion, the fact that it accidentally worked as an instance > variable isn't a very strong argument for continuing to support it. To > me, this is a prime example of misusing a Five component which now > leads to problems when we go pure Zope3. I'ld agree if there was a docstring or interface that made that explicit. I've updated the relevant code in plone.app.portlets though since the change is harmless. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )