I believe sequence-start (managed by the wrapping <DTML-IN> is None if the sequence is empty. So the fragment says-- show the records only if there are any On Fri, 27 Aug 2004 hpinson@indepthl.com wrote:
I have a legacy site that uses dtml mostly. I'm having brainlock here.
Why does this not work?
<dtml-if sequence-start> Show records. <dtml-else> No records returned. </dtml-if>
Can anyone provide the proper syntax?
Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )