On Tue, 27 Jun 2000, Steve Spicklemire wrote:
> OK.. how about one more little special case
>
> There are
>
>
>
> 0
>
> items of type Folder.
Um...yep. Just actually looked at my code, and I do indeed
have that special case in my working code .
That probably makes the set/l
OK.. how about one more little special case
There are
0
items of type Folder.
untested of course. ;-)
-steve
RDM wrote:
--
On Tue, 27 Jun 2000, Rik Hoekstra wrote:
> To quote a mail by RD Murray from a g
>
>On Tue, 27 Jun 2000, Alexander Limi wrote:
>
>> Is there an easy way to count the number of occurences of a certain meta
>> type in a Catalog? E.g: I want a dtml snippet that outputs:
>
>Couldn't you do:
>
>
>
>
>
>
>
>This folder (
>number of objects with the meta type DTML Document.
um,
On Tue, 27 Jun 2000, Rik Hoekstra wrote:
> To quote a mail by RD Murray from a gew days ago:
>
> How do I find the size of the results returned by the catalog?
>
> <-- the results' length -->
>
Hmm. That wasn't my code. I'd suggest instead (untested, but I've
used similar code in my own
-
From: "Erik Enge" <[EMAIL PROTECTED]>
To: "Alexander Limi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 27, 2000 1:35 PM
Subject: Re: [Zope] ZCatalog counting?
>
> On Tue, 27 Jun 2000, Alexander Limi wrote:
>
> > Is there
On Tue, 27 Jun 2000, Alexander Limi wrote:
> Is there an easy way to count the number of occurences of a certain meta
> type in a Catalog? E.g: I want a dtml snippet that outputs:
Couldn't you do:
This folder (
number of objects with the meta type DTML Document.
___
>A presumably simple question:
>
>Is there an easy way to count the number of occurences of a certain meta
>type in a Catalog? E.g: I want a dtml snippet that outputs:
>
>There are 123 DTML Documents in the Catalog.
>
>I've browsed the howto's, but didn't find anything like this. Can anybody
>offe