Hello Zope users! I've a folder containing 7 DTML Documents. The construct below should print 5 title/id, but Zope-2.0.0 displays all seven?! If I include one more DTML Document, only 5 title/id are shown! Why is the correct number shown with 8 documents but not with 7 documents?? Thanks for your advice. - Achim <!--#in "objectValues(['Folder', 'DTML Document'])" sort=id reverse size=5 --> <!--#if "meta_type == 'DTML Document'"--> <strong> <!--#var title_or_id--></strong> <!--#/if--> <!--#/in--> -- Silicon Graphics GmbH | Email: Achim Gorski <gorski@sgi.com> Frankfurter Str. 720-726 | Phone: +49-2203-9312-24 D-51145 Koeln, Germany | VM : +330-8891 Mail-Stop: IDE-3160 | Fax : +49-2203-9312-20
I ran into a similar problem, and "solved" it by putting in a dummy start clause. I think 'size' is not meant to be used independently of 'start'. Try this: <!--#in "objectValues(['Folder', 'DTML Document'])" sort=id reverse size=5 start=0--> 'start' is supposed to be a variable name, not a number, but this works anyway <shrug>. ----- Original Message ----- From: Achim Gorski <achimg@obelix.cologne.sgi.com>
I've a folder containing 7 DTML Documents. The construct below should print 5 title/id, but Zope-2.0.0 displays all seven?! If I include one more DTML Document, only 5 title/id are shown! Why is the correct number shown with 8 documents but not with 7 documents??
<!--#in "objectValues(['Folder', 'DTML Document'])" sort=id reverse size=5 -->
participants (2)
-
achimg@obelix.cologne.sgi.com -
Evan Simpson