[Zope] Is it possible to render a TAL expression from a Page Template?

2006-06-21 Thread jpenny
Suppose I have a variable foo that has value request/name|nothing. Is it possible from a Python Script to have this evaluated as a TAL expression? Alternatives? Thanks jim ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Is it possible to render a TAL expression from a Page Template?

2006-06-21 Thread Alexis Roda
En/na [EMAIL PROTECTED] ha escrit: Suppose I have a variable foo that has value request/name|nothing. Is it possible from a Python Script to have this evaluated as a TAL expression? AFAIK TALES machinery ($ZOPE_HOME/lib/python/Products/PageTemplates) can't be accessed from restricted code.

Re: [Zope] Is it possible to render a TAL expression from a Page Template?

2006-06-21 Thread jpenny
Thanks, the external method appears to work fine. I thought about the silly Page Template, but forgot the path: modifier exists! But the EM should be far faster, anyway. Thanks again. jim [EMAIL PROTECTED] wrote on 06/21/2006 04:04:31 PM: En/na [EMAIL PROTECTED] ha escrit: Suppose I have