[Zope] dtml-in
Chris Humphries
chumphries@devis.com
Mon, 11 Feb 2002 13:58:05 +0000
there are 2 paths you can take now.
<dtml-if resultSet>
<dtml-in resultSet>
blahblahblah
</dtml-in>
<dtml-else>
Sorry, no results found.
</dtml-if>
or
<dtml-in resultSet>
blahblahblah
<dtml-else>
Sorry, no results found
</dtml-in>
-chris
D. Rick Anderson wrote:
> How do I detect if there are no results from a <dtml-in>? I've tried
> everything from:
> <dtml-in ...>
> <dtml-unless sequence-length>
> No records found.
> </dtml-unless>
> </dtml-in>
>
> to:
>
> <dtml-in ...>
> <dtml-if sequence-end>
> <dtml-if sequence-start>
> No records found.
> </dtml-if>
> </dtml-if>
>
> and all kinds of other variations .. I can't get it to return anything if
> there are no results.
>
> TIA
>
> Rick
>
>
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
--
Chris Humphries
Systems Analyst
DevIS
540.537.3904