Re: [Zope] Count specific objects

2000-05-25 Thread Rik Hoekstra


>In subfolder "ref_links" I have a another folder called myLinksandURLs
>(which actually is a product called URL Directory).
>In that folder (myLinksandURLs) there are a couple of objects called Simple
>URL derived from the product called URL Directory.
>
>I  now want to count the number of 'Simple URL' .
>I have tried this.  but that counts only
the
>number of letters in Simple URL.
>
>How do I tell the _.len function to count how many objects exists in a
>specific folder?



  .objectValues(['Simple URL']))">


if the specificFolder is the current folder it may be omitted

Rik


___
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] Count specific objects

2000-05-25 Thread peter

In subfolder "ref_links" I have a another folder called myLinksandURLs
(which actually is a product called URL Directory).
In that folder (myLinksandURLs) there are a couple of objects called Simple
URL derived from the product called URL Directory.

I  now want to count the number of 'Simple URL' .
I have tried this.  but that counts only the
number of letters in Simple URL.

How do I tell the _.len function to count how many objects exists in a
specific folder?


___
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 )