[Zope] How to pass a dictionary object from PythonScript to DTML method?

Dirksen dirksen_lau@yahoo.com
Tue, 30 Jan 2001 19:07:47 -0800 (PST)


I have a Python Script 'test' to return a dictionary object, but these DTML statements
can't retrieve that object:
<dtml-let z="test()">
  <dtml-var "z['b']">
</dtml-let>

It reported a KeyError, Error value: 0. What goes wrong?

Cheers
Dirksen

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/