[Zope] a question about python and zpt interacting with ZSQL method
Andreas Pakulat
ap125@informatik.uni-rostock.de
Thu, 26 Jun 2003 15:03:50 +0200
On 26.Jun 2003 - 13:51:55, Exteam wrote:
>
> Hi all
>
> I am a newbie in Zope and ZPT.
>
> I want to pass an argument from ZPT via python which in turn passes it to a ZSQL method to make a query in the database based on that argument.
Hmm, don't know If I understand you, but I would call the script with
the parameter like this:
python:scriptname(parameter=variable)
Then in the script you can do the same qith the ZSQL Method:
context.zsqlmethod(parameter)
Andreas
--
Questionable day.
Ask somebody something.