[Zope] passing a zope <dtml-in...> list element to a sql method

Dieter Maurer dieter at handshake.de
Sun Sep 28 16:31:17 EDT 2003


Roger Mallett wrote at 2003-9-28 05:33 +0000:
 > I am attempting to access an element from a list and pass the element to a 
 > SQL method.

If "l" is a list, you access its "i"th element with "l[i]".

To pass an argument to a Z SQL Method, you pass it as keyword
argument:  "YourZSQLMethod(argument1=val1, argument2=val2,...)".


Dieter



More information about the Zope mailing list