[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 
solution:

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. 
Anyway...

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

Sincerely.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/

_______________________________________________
Zope-DB mailing list
Zope-DB at zope.org
http://mail.zope.org/mailman/listinfo/zope-db



More information about the Zope-DB mailing list