[Zope] Length of a list (was: [Zope] How does one display document count of a folder?)
[EMAIL PROTECTED] writes: > I am using a script to display the contents of a folder, but I > wonder how I might display a document count of the dtml > documents in a folder? You want to get the length of a list, in your case the return value of "objectIds". This is a FAQ: you use "_.len()" or (insided a dtml-in) "". Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How does one display document count of a folder?
[[EMAIL PROTECTED]] | I am using a script to display the contents of a folder, but I | wonder how I might display a document count of the dtml | documents in a folder? Untested: HTH -Morten ___ Zope maillist - [EMAIL PROTECTED] 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 )
[Zope] How does one display document count of a folder?
I am using a script to display the contents of a folder, but I wonder how I might display a document count of the dtml documents in a folder? Here is the script I use to display folder contents: "> Thanks in advance! ___ Zope maillist - [EMAIL PROTECTED] 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 )