[Zope] dtml-in woes

Shalabh Chaturvedi shalabh@pspl.co.in
Mon, 17 Jan 2000 23:25:28 +0530


M. Adam Kendall wrote:
> Looking over the dtml-in specs, it appears that you 
> can sort on a particular value. 
> For instance if I do:
> <dtml-in "objectValues(['DTML Document'])" sort=id>
> 
> But, there doesn't appear to be a method of sorting
> in reverse.  Is there a trick that anyone can share
> about how to do this, or is there already an arg that
> I can insert into the dtml-in to do this?

Have you tried this: -

<dtml-in "objectValues(['DTML Document'])" sort=id   reverse >

~Shalabh
---------------------------------------------------------------
"We are all in the gutter, 
but some of us are looking at the stars"
-Oscar Wilde
---------------------------------------------------------------