thanks you all!! This helped a lot!Tino Wildenhain <[EMAIL PROTECTED]> wrote: J Cameron Cooper schrieb:> Alric Aneron wrote:> >> Hello, I am new to Zope and DTML.>> I am trying to use a python script to call a Z SQL method. The python>> script also has a list that >> over. so my python script:>>
J Cameron Cooper schrieb:
> Alric Aneron wrote:
>
>> Hello, I am new to Zope and DTML.
>> I am trying to use a python script to call a Z SQL method. The python
>> script also has a list that > over. so my python script:
>> -python script
>> words = ['one', 'two']
>> context.REQUEST.set('word
> I am trying to use a python script to call a Z SQL method. The python
You need to have defined "words" as parameter for ZSQL Metod. You have tried
to call property wordlist which is not exit.
Here are your ZSQL with safety (not functional) concern:
words:string
SELECT * FROM table
WHERE
Alric Aneron wrote:
Hello, I am new to Zope and DTML.
I am trying to use a python script to call a Z SQL method. The python
script also has a list that over. so my python script:
-python script
words = ['one', 'two']
context.REQUEST.set('wordlist', wordlist)
rs = context.myzsqlmethod()
re