Re: [Zope] ZPsycopg - Losing Connections

2005-07-27 Thread Thomas Olsen
. :) The 1.1.19 version isn't in debian yet. $ apt-get show python-psycopg shows only 1.1.18 :( #wget http://ftp.de.debian.org/debian/pool/main/p/psycopg/python-psycopg_1.1.19-1_i386.deb #dpkg -i python-psycopg_1.1.19-1_i386.deb -- Med venlig hilsen Thomas Olsen http://www.headnet.dk

[Zope] ZSQLMethod conditional insert

2005-07-27 Thread Thomas Olsen
-sqlvar path type=string, 1, now()) /dtml-if Is there a way of doing this or should I just create that extra ZSQLMethod? -- Med venlig hilsen Thomas Olsen http://www.headnet.dk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] ZSQLMethod conditional insert

2005-07-27 Thread Thomas Olsen
specific way of assigning values to local variables. I could probably use a sub-select or something but my SQL is a bit rusty ;-) Regards, David On Wednesday, July 27, 2005, at 03:22 PM, Thomas Olsen wrote: Hi This is probably an FAQ but I haven't been able to find and answer. I need

Re: [Zope] Re: ZSQLMethod conditional insert

2005-07-27 Thread Thomas Olsen
On Thursday den 28. July 2005 00:23, Christian Scholz wrote: INSERT INTO table (a,b,c) VALUES (1,2,3)        ON DUPLICATE KEY UPDATE c=c+1; Thanks - that was exactly what I needed -- Med venlig hilsen Thomas Olsen http://www.headnet.dk ___ Zope

Re: [Zope-dev] ZPT is young

2002-05-10 Thread Thomas Olsen
On Thursday 09 May 2002 09:47, Chris Withers wrote: Thomas Olsen wrote: DTML is great for style sheets, javascript and such where you cannot use ZPT and python scripts would be too ugly to use ;-) There's no reason to use DTML for these, as I've explained before ;-) Must have missed

Re: [Zope-dev] ZPT is young

2002-05-10 Thread Thomas Olsen
On Friday 10 May 2002 01:19, Adrian Hungate wrote: Yeah, for CSS I'd use ZStyleSheets, and for javascript I'd use a very large magnet... but that is another argument. GRIN -- Regards, Thomas Olsen ___ Zope-Dev maillist - [EMAIL