[Zope] Is it possible to call make odbc calls from an external method?
tom smith
tom@othermedia.com
Sun, 11 Mar 2001 19:39:12 +0000
hi,
I just created an external method that...
def test(self):
import sys
return sys.modules
...and then a DTML method that...
<dtml-in "test().keys()">
<b><dtml-var sequence-item></b><br>
<dtml-let x=sequence-item>
<dtml-var expr="dir(x)">
</dtml-let>
<br><br>
</dtml-in>
...because I was try to get zope to describe itself. What I want to do is
use the odbc stuff from within an external method. Is this possible? And why
doesn't dir(x) in the DTML above work?
thanks
tom