[Zope] <dtml-let ..> method </dtml-let>

Jean Jordaan Jean@mosaicsoftware.com
Wed, 23 Aug 2000 17:47:42 +0200


Hi Phil, RDM, Adam

> I seem to remember a entry to the collector about this, 
> I think your stuck with having a 'static' sort key.

yeech!

> or you could do something like
>
> <dtml-if "sort_key=='sort1'">

that'll do as a workaround .. 

> You can always you his patch in the meantime, though.

I'm too chary of living on the bleeding edge .. 

Now I'm trying to do::

  <dtml-in "PARENTS[0].objectItems(['ccDocClass'])" size=10 start=qs
           <dtml-var reverse>
           sort=title>

but this won't work either::

  Document Template Parse Error
  Invalid attribute name, "

Thanks for the answers!
-- 
jean