[Zope] How does DTML handle return variables from Python

Thomas B. Passin tpassin@mitretek.org
Wed, 19 Jun 2002 09:46:12 -0400


[McDonnell, Larry]
>
> <dtml-if expr="part_num=='zz'">
> <dtml-call "REQUEST.set('part_num',' ')">
> <p><dtml-var part_num>part_num
> </dtml-if>
> ...
> I can see the dtml-vars but when I call the python script part_num is
still
> set to blank. Sorry for the long email. Thanks in advance.
>

Of course it is blank - you yourself  set it to the empty string with
REQUEST.set() !

Tom P