[Zope-dev] Returning values for dtml-in

jiva@devware.com jiva@devware.com
Tue, 28 Mar 2000 13:10:27 -0700


What kind of result do I need to return from a python method in order
for the return value to be usable by <dtml-in> ?

In other words, I want to do:

def blah(self):
    l = [{val : 'blah1'}]
    return l

then in my dtml code do:

<dtml-in blah>
<dtml-var val1>
</dtml-in> 

Am I missing something?
-- 
You will be reincarnated as a toad; and you will be much happier.