Re: [Zope] Please help with DTML-in (newbie)

2005-12-29 Thread Alric Aneron
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:>>

Re: [Zope] Please help with DTML-in (newbie)

2005-12-28 Thread Tino Wildenhain
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

RE: [Zope] Please help with DTML-in (newbie)

2005-12-28 Thread Jaroslav Lukesh
> 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

Re: [Zope] Please help with DTML-in (newbie)

2005-12-28 Thread J Cameron Cooper
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