11 May
2001
11 May
'01
9:34 p.m.
* Dieter Maurer <dieter@handshake.de> [2001-05-11 21:42]:
Only the automatic passing of the object argument when called from DTML will not work.
A little bit or two paragraphs earlier in the same HowTo: --cut-- As in standard Python, the self argument is implicit when calling an External Method and does not need to be passed explicitly by the programmer. Zope will automatically bind self when an External Method is called from DTML. If you define an External Method that takes more arguments than simply self, you need to pass those arguments when calling the External Method from DTML. --cut-- I guess Brian wasn't aware of this problem when writing this. Cheers, Nils