[Zope] Arguments problem
Michel Pelletier
michel@digicool.com
Thu, 29 Jul 1999 13:43:16 -0400
> -----Original Message-----
> From: Donald Holten [mailto:donner@biophysics.lanl.gov]
> Sent: Thursday, July 29, 1999 1:01 PM
> To: zope@zope.org
> Subject: [Zope] Arguments problem
>
>
> I have a ZSQL Method that takes 9 arguments. Here is
> my call to the method:
> <!--#call "add_users(Firstname, Lastname, Email,
> Institution, Telephone,
> '1-20-77', Password, '1-30-77', Group)"-->
>
You must pass ZSQL methods *keyword* arguments.
<!--#call "add_users(Firstname=Firstname, Lastname=Lastname...
alternativly, your REQUEST mapping can map:
REQUEST['Firstname']='avalue'
...
You can set this with REQUEST.set().
-Michel