[Zope-dev] Setting vars in expression eval() namespace

Steve Alexander steve@cat-box.net
Wed, 21 Feb 2001 22:53:54 +0000


Julio Maia wrote:

> 
> This is not going to be handy once the block is composed by a large dtml
> block. I wonder if dtml-var shouldn't support the syntax I've described
> above.

I suggest instead using a PythonScript, and using the DTML class that you
can import from the Products.PythonScripts.standard module.

You can use this to render DTML on the fly, as you wish.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net