[Zope-dev] Zope 296->210 page template calling prob.
Andreas Jung
lists at zopyx.com
Mon Mar 5 23:43:23 EST 2007
--On 5. März 2007 22:20:50 -0500 JZopeDev Kioza <jzopedev at kioza.net> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20070306/5d7f580b/attachment.bin
More information about the Zope-Dev
mailing list