2 Dec
2003
2 Dec
'03
6:59 p.m.
On Tue, 2003-12-02 at 10:32, Matthew Thorley wrote:
Greetings:
As the subject indicates I am working with a product(P1) and I would like to call the methods of a different product(P2) from with in the first. When I try from P@ import method I get an error. How do I get P2 to into the namespace of P1 or at least into the global namespace.
Untested, obviously... but probably close enough to help: ----- from Products.P1.p1module import p1class def my_wrapper(self, request): return p1class.p1method(self, request) ----- HTH, Dylan