[Zope] Python Script REQUEST namespace not found.

H.Tan htan@gmx.de
Wed, 4 Sep 2002 20:41:29 +0800


Hi,

I'm trying to write my first python script by passing parameter through the
REQUEST object as following:


---------------------------
In the Python Script:

Parameter: name="world"
return "Hello %s" %name
------------------------

in my DTML-Document:

<dtml-call "REQUEST.set('name', 'John')">
<dtml-var hello>

--------------------------

In this case, I set the name to 'John' in the REQUEST object and call
'hello' object.
'hello' object shall be able to find the 'name' as 'John', but it doesn't

The final result after calling the DTML-Document is: 'hello world'


Anyone have idea, why the script didn'tt lookup the REQUEST object?