Alan wrote:
Hi Dears,
I am looking for ideas of how to use a submitting button to pass
several parameters to a python script.
I have googled but I found different solutions not really appropriate
to my case I guess.
I was trying something like this:
<form action="do_status.py" method="POST">
<input type="hidden" name="jname:string">
<input type="hidden" name="juser:string">
<input type="submit" value="Submit">
</form>
Then I defined my do_status.py with parameters jname, juser
print jname, juser
return printed
Try print context.REQUEST.get('jname','???')
and nothing is printed.
David
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )