15 May
2000
15 May
'00
10:04 p.m.
Hello, I need to replace DTML code with Python code in a product. I have something like this in my Zope Class: form=HTMLFile("genform", globals()) The genform dtml is used with three parameters. I would like to replace this code with something like this: import genform # genform.py ... form = genform.run With genform.run being a function in the genform module accepting 3 parameters. This code actually does not work. What am I doing wrong ? What should I do ? Thank you in advance for your help. -- Mickaël