[Zope-DB] DTML-sqlvar string error

Remy Pinsonnault remy_pinsonnault at roche.ca
Mon Nov 15 13:26:44 EST 2004

Have you tried (with string inside "")?

<dtml-sqlvar xbk_author type="string">

-----Original Message-----
From: zope-db-bounces+remy_pinsonnault=roche.ca at zope.org
[mailto:zope-db-bounces+remy_pinsonnault=roche.ca at zope.org] On Behalf Of
ilker imamoglu
Sent: Lunes, 15 de Noviembre de 2004 12:44 p.m.
To: zope-db at zope.org
Subject: [Zope-DB] DTML-sqlvar string error

Hi everybody...

May be you can find this question as basic. But I cant understant what is 
happened and why... I read books and search web but I couldnt reach 

I try to build something to get data form PostgreSQL via ZOPE... But when I
used to stiring such as <dtml-sqlvar xbk_author type=string> I 
got a message like

Error Value: global name 'string' is not defined

instead of this when I used like

<dtml-var xbk_author>

It runs... But this method is not good especially when you thing security. 

I couldnt figure out why I get such an error message...
If you advise me I would be very appreciated..

ps: I use PostgreSql 7.3 , Zope 2.7, also I installed zpopyda  2.0.7 and 
PoPy 2.0.8 OS:RH9


FREE pop-up blocking with the new MSN Toolbar - get it now! 

Zope-DB mailing list
Zope-DB at zope.org

More information about the Zope-DB mailing list