Hello,

I want to retrieve the last 3 filenames from a subfolder and display them in
a document. If I set the size of the retrieval to 1, I get just 1 name
returned. If I set the size to 3, I get everything in the folder. (if I use
2 I also get everything in the subfolder )

Here is my code (using 2.2b2):

<dtml-with Document>
  <dtml-in "objectValues(['DTML Document'])" size=3 sort=id>
      <dtml-var id> <dtml-var title><br>
  </dtml-in>
</dtml-with>

thanks,

Luke


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

Reply via email to