[Zope] Passing a variable number of parameters to a Pythonscript

Chris Withers chrisw@nipltd.com
Mon, 28 May 2001 09:41:37 +0100


> I know that in DTML, they would be in the REQUEST dictionary... I think in
> python script, that corresponds to context.  So they would be in
> context.param0, or perhaps context['param0']

Agh!!! context!=REQUEST!!!

context and container are just ordinary objects. You can get hold of REQUEST
through Acquisition as follows:

REQUEST = context.REQUEST.

cheers,

Chris

PS: How come *args and **kw don't work then?