[Zope3-Users] Calling ZSQL from ZPT

2007-10-10 Thread alebald
Hi All, I am a newbie in zope and also to zope3. I am trying to fetch some data from mysql and want to display it in ZPT. my code is below # html head titlePage Title/title /head body brThe URL is URL. table tr tal:repeat=

Re: [Zope3-Users] Calling ZSQL from ZPT

2007-10-10 Thread alebald
one thing i forgot to mention in last email that both ZPT and sqldisplay methods are also registered in zope3 alebald wrote: Hi All, I am a newbie in zope and also to zope3. I am trying to fetch some data from mysql and want to display it in ZPT. my code is below

Re: [Zope3-Users] Calling ZSQL from ZPT

2007-10-10 Thread alebald
I tried it such . but got failure zope.tal.taldefs.TALError: Invalid variable name item.DisplayController_ID, item.IPAddress, item.MACAddress but td tal:content=item/DisplayController_ID is working perfect. Thanx very much :) for your help :) Alebald Andrew Ermakov wrote: You need