Re: [Zope] how to instantiate an External Method

2005-04-07 Thread Dieter Maurer
Wladmir Araujo Chapetta wrote at 2005-4-6 17:58 -0300: > ... >line 36, in Container > > searchService=ExternalMethod('searchService','searchService','search','search') >TypeError: 'module' object is not callable A nice and precise error message: "ExternalMethod" is the module and not the cl

Re: [Zope] how to instantiate an External Method

2005-04-07 Thread Chris Withers
Wladmir Araujo Chapetta wrote: How can i instantiate a external method within my Container Product? Tell us why you think you need to first... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___

[Zope] how to instantiate an External Method

2005-04-06 Thread Wladmir Araujo Chapetta
How can i instantiate a external method within my Container Product? I've tryed to do this as following: ... from Products.ExternalMethod import ExternalMethod class Container(Folder): meta_type ='Container' def __init__(self, id, title): self.i