[Zope] "Missing" attribute with ZSQL methods?

Ron Bickers rbickers@logicetc.com
Wed, 17 Jan 2001 11:30:56 -0500


> If I write DTML that way:
>
> <td><dtml-var telephone missing="(No phone)"></td>
>
> and if "telephone" comes from a ZSQL method, "missing" is ignored
> even if the
> field was NULL (in SQL sense). Is it normal?

"missing" is only effective if the variable telephone cannot be found.  Even
if it has a null or None value, it's not considered missing.  Try <dtml-var
telephone null="(No phone)"> instead.
_______________________

Ron Bickers
Logic Etc, Inc.
rbickers@logicetc.com