--On 5. März 2007 22:20:50 -0500 JZopeDev Kioza <[EMAIL PROTECTED]> wrote:
Hello, I have a problem since upgrading to Zope210x that I hope, concerns "Development folks". I use a call to "custom-internal" pagetemplates in one of my products (actually they are plugins). With Zope 2.9.6, in my product I use: return _config.myPT(context={'here':self, 'request':REQUEST}) _config. is a module which initialize myPT as a PageTemplate and read-it in like so: f = open(aPlugin + '/' + myPT) myPT = PageTemplate() myPT.write(f.read()) f.close() This always worked! Now, with Zope 2.10.2svn, and the new PageTemplate machinery, this call doesn't work anymore. My custom pagetemplates are full of "here" statements in their TAL expressions and they are not recognized anymore:
This is likely related to the integration of the Zope 3 ZPT implementation into Zope 2.10. Please turn your issue into a unittest and file a bug report to the Zope collector - otherwise this issue might get lost. -aj
pgpDlguOyn2MB.pgp
Description: PGP signature
_______________________________________________ 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 )