[Zope] Python Script unable to response to DTML method calls
Dirksen
dirksen_lau@yahoo.com
Wed, 17 Jan 2001 18:49:26 -0800 (PST)
I have a python script 'func' that has 'self' as the parameter. When I call it with:
<dtml-var func>
I got this error: not enough arguments; expected 1, got 0. That means the dtml call
dosen't provide for the 'self' parameter as it would for other dtml methods or python
methods(I rewrote 'func' in python method, and things work out!)
I need to call python scripts that way (for I didn't write that dtml method), how can I
do that or I have to write everything in python methods?
Dirksen
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/