[Zope] Re[3]: [Zope] full textsearch on own products !!

Geir Bækholt Hansen Geir B Hansen <geirh@funcom.com>
Tue, 4 Apr 2000 12:02:45 +0200


on Tuesday, April 04, 2000 Anders Holmbech Nielsen wrote :
AHN> duh... Ok I didn't quite get it right the first time but now I have 
AHN> installed the PythonMethod module and made a Pythonmethod instead. 
AHN> Doing this I get this return:

AHN> Error Type: NameError
AHN> Error Value: self

AHN> Still with this content in the method:
AHN> return string.join((self.overskrift, self.indhold, self.forfattere), ';')


works here..
are you calling it for a Zclass instance, and not the Zclass
itself when testing it ?

yoursite.dk/YourZclassInstance/YourPythonMethod


--
Geir Bækholt Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com