14 May
2000
14 May
'00
12:38 a.m.
Hi, I got a method in a product that should be able to return a list, a tuple or a dictionary but I cannot seem to use them in the same way as in plain python. Is there anything I should be aware of? I got a disk-based dictionary ( Berkley DB ) in which I`ve stored several customized classes? If I return a list of objects like this, how could I access this in DTML-code? If somebody could give me an example on how you can return a little more than just a string from a method to a dtml-document/method I`d be grateful. At the moment nothing but plain strings seem to work. Thomas