[Zope] DTML question

Luke Tymowski ltymowski@attglobal.net
Tue, 27 Jun 2000 17:32:59 -0400


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