[Zope] How to get 4 Random DTML Documents
Martin Koekenberg
zope at digital-adventures.nl
Sat Nov 8 14:12:41 EST 2003
Hello,
That is a solution but that gives me 4 random links an not set of 4 random
links without double entry's.
Martin Koekenberg
P.S. I unsubscribed me from zope-dev... I've nothing to do there. Just
start to developing in Zope not Developing zope ;-)
----- Original Message -----
From: "Dylan Reinhardt" <zope at dylanreinhardt.com>
To: "Martin Koekenberg" <zope at digital-adventures.nl>
Sent: Saturday, November 08, 2003 7:37 PM
Subject: Re: [Zope] How to get 4 Random DTML Documents
> On Sat, 2003-11-08 at 10:30, Martin Koekenberg wrote:
> > Hello,
> > With "<dtml-with expr="_.whrandom.choice(links.objectValues('DTML
> > Document'))">" I can gert a radom DTML Dotument.
> >
> > But how can I et 4 random documents with a probely a <dtml-in size
> > =4....... statement ?
>
> <dtml-in "_.range(4)">
>
> And please don't send this kind of question to zope-dev.
>
> HTH,
>
> Dylan
>
More information about the Zope
mailing list