[Zope] <dtml-call expr="my_var='foo' "> fails

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Mon, 21 Jan 2002 19:43:49 +0300


On Mon, Jan 21, 2002 at 05:22:01PM +0100, Thomas Guettler wrote:
> <dtml-call expr="my_var='foo' ">
> (I want to set the variable my_var of  my python object)

   DTML does not support assignment. Rough equivalents are REQUEST.set and
dtml-let.

Oleg.
-- 
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.