[Zope] PythonMethod and access
picasso@videotron.ca
picasso@videotron.ca
Thu, 30 Sep 1999 00:22:54 -0400
Hi,
How can a PythonMethod access an arbitrary object stored in the ZODB.
ex:
Myfolder
myObject
myPythonMethod
myDTMLMethod
myDTMLMethod:
<dtml-var "myObject.attribute">
When I call it it return: "This is myObject attribute". Cheers...
myPythonMethod:
return myObject.attribute
If I try it nothing happens!
It seems I don't understand how namespaces work.
Any help appreciated.
***************************
Oscar Picasso
picasso@videotron.ca
***************************