[Zope] Zope and Python
mikl@club-internet.fr
mikl@club-internet.fr
16 May 2000 00:04:19 +0200
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