15 Apr
2000
15 Apr
'00
12:09 a.m.
Ok I'm a zope newbie (abou 5 days), but I've come across some external method oddities. If I create a method such as def hello(self): return self.id then call it like <dtml-var "hello()"> I get back the name of the folder the method is contained in, as expected. However if I call something like... <dtml-var "hello('somestring')"> The 'somestring' is put into the 'self' param in the external method. Zope throws an exception saying that "string object has no attribite 'id'" Is that expected behavior? ---------- Jim Abrams jim@abramstechnology.com