[Zope] Newbie to Zope

Jim Washington jwashin@vt.edu
Fri, 26 Jul 2002 07:48:56 -0400


zope wrote:

> Hi
>  
> I am a Newbie to zope.
> I am interested in working in zope and have been involved in work 
> related with Pythonscripts and PostgreSql and Page Templates.
> I have become stuck at a point and I am not able to find what to do next.
> I am using a python Script to run a ZSQL method and then the values 
> are to be sent to the Page Template to be displayed.The Script is:
>  
> from Products.PythonScripts.standard import html_quote
> r = context.ond.db.zqll_clin    # this is a zsql method in a different 
> folder at root

John

I think you should be *calling* the method here:

r = context.ond.db.zqll_clin()

If you do not need to pass parameters, it may work.  Otherwise, you 
should get a different error that is easier to figure out.

-- Jim Washington