[Zope] PythonScript calls Z SQL Method

Dieter Maurer dieter@handshake.de
Thu, 14 Jun 2001 22:41:09 +0200 (CEST)


Horst Wald writes:
 > ....
 > 
 > But can a PythonScript-Object A() call a Z SQL Method 
 > B(X) without help from 'above'? Like in the above example? Neither
 > 
 > y=context.b('x') nor y=context.b(X='x')
 > 
 > work. I get: Resource not found
Sure.

The second one should work.

What resource was not found (--> look at the HTML source(!) of the
error page).


Dieter