[Zope] Newbie - passing a list to an External Method

Chris Withers chrisw@nipltd.com
Wed, 23 Apr 2003 09:16:10 +0100


Hi Ashley,

FWIW, External Method arguments as you're trying to use them are deeply wrapped 
in voodoo :-(

Your best bet is to stick stuff in the REQUEST as follows:

<dtml-call "REQUEST.set({'fileId':'xxx','lines':y})">

def run(self):
   REQUEST = self.REQUEST
   fileId = REQUEST.fileId
   lines = REQUEST.lines

cheers,

Chris