Length of a list (was: [Zope] How does one display document count of a folder?)
10 Sep
2000
10 Sep
'00
7:33 a.m.
sean@horse101.com 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(<list expression>)" or (insided a dtml-in) "<dtml-var sequence-length>". Dieter
9339
Age (days ago)
9339
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer