[Zope] Passing Arguments to ZSQL Method from Python Script

Chris Withers chrisw@nipltd.com
Tue, 01 Oct 2002 15:21:57 +0100


Chris A. Bruce wrote:
> Well, if the variables are in REQUEST, zope will bind them to the
> parameters of the ZSQL Method--as long as the names match.  

Ah yes, forgot about that. That'll only work if ther are bo "" in site of your DTML.

> "If you call a Z SQL Method without argument from DTML, the arguments
> are automatically collected from the environment."
> http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatab
> ases.stx#3-66

I just commented there ;-)

> Are you convinced now?

Not entirely ;-)

> Oh, I think I have html turned off now.

Joy!

Chris - Ren & Stimpy are not dead, they're just 'classic'