[ZPT] How to pass parameters to a ZPT call inside another ZPT
Dieter Maurer
dieter at handshake.de
Fri Aug 29 21:22:03 EDT 2003
Sinclair wrote at 2003-8-29 13:51 +0200:
> I don't understand how to pass parameters to a ZPT call inside another ZPT,
> and then to catch those parameters in the second.
You pass them as you do usually when you call functions, i.e.
python: function(posarg1,posarg2,...,keyarg1=val1, keyarg2= val2, ...)
> Maybe should I use 'options' builtin name ?
Inside the called ZPT, the passed in arguments are available
via options. Positional arguments are "options/args" and
keyword argument "keyarg" is availabe as "options/keyarg".
Dieter
More information about the ZPT
mailing list