[Zope] Help with Nested ZSQL methods

Dieter Maurer dieter@handshake.de
Thu, 30 Nov 2000 00:11:29 +0100 (CET)


paul_s_johnson@urscorp.com writes:
 > ... passing parameters to Z SQL methods ...
This is an FAQ.

You already know the searchable list archive at NIP?

Z SQL methods do *NOT* take parameters from the DTML
namespace. They only look at "REQUEST".

You have two options:

 1. put your parameters into the REQUEST object:

    <dtml-call "REQUEST.set('myparam', myparam_value)">
    ....

 2. call the Z SQL method with explicit parameters:

    <dtml-in "myMethod(myparam= myparam_value, ....)">


Dieter