Hello,
<dtml-in "PARENTS[0].objectValues(['DTML Document'])" size=3 sort=id> should work, no?
No. This works on my production server, which runs Zope 2.1.14. <dtml-with history> <dtml-with 2000> <dtml-in "objectValues(['DTML Document'])" size=3 sort=title reverse> <dtml-var sequence-item><br> </dtml-in> </dtml-with> </dtml-with> But if I try that same code on 2.2b2 it doesn't work. If the subfolder is down 1, then size=1 works, but size=2 returns everything. If the subfolder is down 2, then size=1 works, size=2 works, but size=3 returns everything. By down 2 I mean like the example code above (folder I want to query is two levels down). Maybe it's a 2.2 bug? Luke
On Wed, 28 Jun 2000, Luke Tymowski wrote:
If the subfolder is down 2, then size=1 works, size=2 works, but size=3 returns everything.
By down 2 I mean like the example code above (folder I want to query is two levels down).
Maybe it's a 2.2 bug?
Maybe you need the 'orphan' parameter on your dtml-in? --RDM
Hello,
Maybe you need the 'orphan' parameter on your dtml-in?
Thanks. That did the trick. I really hope that O'Reilly book gets done sooner rather than later. I wasn't seeing that problem on my production server (2.1.4) because it has 70-odd documents in the folder I query. (I'm trying out things on a development machine with 2.2.) Luke
On Thu, 29 Jun 2000, Luke Tymowski wrote:
Hello,
Maybe you need the 'orphan' parameter on your dtml-in?
Thanks. That did the trick.
I really hope that O'Reilly book gets done sooner rather than later.
Well, to be honest, I've found the existing documentation on that topic to be very helpful. My only problem with it has been seemingly erroneous (or at the very least, less than clear) example code.
I wasn't seeing that problem on my production server (2.1.4) because it has 70-odd documents in the folder I query. (I'm trying out things on a development machine with 2.2.)
Yeh, I thought so. (o8
Luke
Have a better one, Curtis. <dtml-var standard_work_disclaimer>
participants (3)
-
Curtis Maloney -
Luke Tymowski -
R. David Murray