[Zope-dev] calling SQL from External Method and using acquisition
Dieter Maurer
dieter@handshake.de
Thu, 21 Dec 2000 23:28:30 +0100 (CET)
Andy McKay writes:
> This is just an annoying namespace issue:
> - I'm calling SQL methods from External Methods by <dtml-var
> create_index_ext>.
> - I can then call a SQL method by calling self.sql_method()
You can pass to a Z SQL method either a single
dictionary (positional) argument or a sequence of keyword
arguments.
Thus, you may use:
self.sql_method(self.REQUEST)
Dieter