Alan wrote at 2006-9-12 18:26 +0100:
I've been trying without success to pass from a form in ZPT to an
external method an undefined list of parameters (*args).
An example:
def external_method(var_fix,*args):
return 'Vals',var_fix,args
This will not work.
ZPublisher must know the argument
Hi List!
I've been trying without success to pass from a form in ZPT to an
external method an undefined list of parameters (*args).
An example:
def external_method(var_fix,*args):
return 'Vals',var_fix,args
...
file _sub_html_:
FORM ACTION=external_method METHOD=POST
--On 12. September 2006 18:26:20 +0100 Alan [EMAIL PROTECTED] wrote:
it returns values of arg1 and arg2. But my problem is that the number
args cannot be fixed since such arguments depends on other page.
All form parameter are available from the REQUEST.form.
self.REQUEST gives you the