[Zope] Variable number of arguments
Jesper Holmberg
jesper.holmberg@enst-bretagne.fr
Mon, 3 Dec 2001 09:01:51 +0100
* On Sun Dec 02, Holger Hoffmann wrote:
> Jesper Holmberg wrote:
> >
> > I'm having troubles passing a non-specified number of variables from a
> > form to a method in one of my products.
>
> do something like this:
>
> def manage_editAction(self, REQUEST):
> "Prints values"
> for key in REQUEST.form.keys():
> print "%s: %s" % (key, REQUEST[key])
Thank you Holger! That was what I was looking for without knowing it.
Jesper
--
Jesper Holmberg |"But how can |
jesper.holmberg@enst-bretagne.fr | one be warm |
ENST Br, BP 832, 29285 Brest, FRANCE | alone?" |