21 Feb
2001
21 Feb
'01
6:54 p.m.
Joh Johannsen writes:
I've got the following python class:
class TestClass: def __init__(self): pass
def getValue(self): return 'test'
How can I create an instance of it, and use it from within a DTML page? You can put it into a product (HowTo on zope.org) or use it in an external method.
In both cases, you would need to learn something about Zope security. There is a documentation of Brian about this topic on zope.org. Dieter