[Zope] Another hang-up...
Michel Pelletier
michel@digicool.com
Wed, 28 Jul 1999 10:34:31 -0400
> -----Original Message-----
> From: Donald Holten [mailto:donner@biophysics.lanl.gov]
> Sent: Tuesday, July 27, 1999 6:39 PM
> To: zope@zope.org
> Subject: [Zope] Another hang-up...
>
>
> It feels like I'm pulling teeth here. Thanks for all
> the help so far.
> Okay, here's a better picture of my problem:
> I have a property called numtemp (as suggested by
> Michel), that is an
> int.
> I have the following call to an SQL method:
>
Was there supposed to be something here?
>
> And I have the update_AccessCounter() SQL method:
> update WRTable
> set numruns = <!--#var numtemp-->
>
> It has the argument numtemp.
>
> I have also tried with:
> <!--#call "update_AccessCounter()"-->
>
You have to pass in numtemp somehow. <!--#call
"update_AccessCounter(numtemp=whateveryouwant)"--> will do it, and if
'numtemp' is a varaible in your request (for example, if you had a form
with an element called numtemp) the you can just say:
<!--#call update_AccessCounter-->
and the ZSQL method will sniff the value it needs out of the REQUEST.
-Michel