[Zope] PythonScript calling a DTML method and passing a list

Evan Simpson evan@4-am.com
Thu, 29 Mar 2001 19:06:24 -0500


From: "Ronald L. Roeber" <rroeber1@unl.edu>
> print context.printResults( MyList, context, context.REQUEST )
> return printed

'context' and 'REQUEST' should be the only positional parameters; anything
else has to be keyword-style.  Unless you're printing more than just the
results of this one call, you can just return it:

return context.printResults(context, context.REQUEST, MyList=MyList)

Cheers,

Evan @ digicool & 4-am