[Zope] problem with dtml-var displaying None for NULL from po stgres

Harris Peter PHarris@JimBeam.co.uk
Wed, 6 Jun 2001 08:57:55 +0100


Hi

Best way is <dtml-var field null="">, then you get an empty string instead
of "None".

<dtml-if field><dtml-var field></dtml-if field> may in fact not work for
integer fields.
It will omit zeros as well as nulls, if I understand dtml-if correctly.

Peter




****************************************************************************
This message and any files transmitted with it are confidential.  
The contents may not be disclosed or used by anyone other 
than the addressee. 
If you have received this communication in error, please delete 
the message and notify JBB (Greater Europe) Plc immediately 
on 0141-249-6285.

The views expressed in this email are not necessarily the views 
of JBB (Greater Europe) PLC.  
As it has been transmitted over a public network, 
JBB (Greater Europe) PLC makes no representation nor accepts 
any liability for the email's accuracy or completeness unless 
expressly stated to the contrary.

Should you, as the intended recipient, suspect that the message 
has been intercepted or amended, please notify 
JBB (Greater Europe) Plc immediately on 0141-249-6285.

****************************************************************************