[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: Re: [Zope] a question about python and zpt interacting with ZSQL method
From: Andreas Pakulat <ap125 () informatik ! uni-rostock ! de>
Date: 2003-06-26 13:03:50
[Download RAW message or body]
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.
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic