[Zope] Providing arguments to a Z SQL method using Zope Page Templates
Geir Bækholt
Geir Bækholt <geirh@funcom.com>
Fri, 4 Oct 2002 11:18:34 +0200
on or about, Friday, October 04, 2002, we have reason to believe that
James Lee White wrote something along the lines of :
JLW> Providing arguments to a Z SQL method using Zope Page Templates
in case this was a question on how to provide arguments to a Z SQL
method using Zope Page Templates , the best way seems to be a
python-statement:
<p tal:define=3D"SQLresults python:here.yourSQLmethod(param1 =3D value1 ,
param2 =3D value2)"></p>
remember , all arguments must be passed as named arguments ; (ie : no doing
value1, value2)
:)
--=20
Geir B=E6kholt geir@funcom.com
Zopatista , tools-developer
Product Operations
Funcom Oslo