[Zope] dynamic sort=

Derek S. Wilson dwilson at abrazohealth.com
Mon Oct 13 14:00:05 EDT 2003


I started learning DTML, then converted a couple applications to ZPT and
I like ZPT - it's nice. I like that I can convert to ZPT on a live site
- it intermixes with DTML very well.

-----Original Message-----
From: Stefan H. Holek [mailto:stefan at epy.co.at] 
Sent: Monday, October 13, 2003 10:51 AM
To: D. Rick Anderson
Cc: zope at zope.org
Subject: Re: [Zope] dynamic sort=


According to the documentation* what you want is 'sort_expr='. I do
however 
recommend you stop using DTML alltogether.

Stefan

*<http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixA.stx>



--On Montag, 13. Oktober 2003 10:16 -0700 "D. Rick Anderson" 
<ruger at acsnv.com> wrote:

> Is there a way to do a dynamic sort= on a dtml-in on a list of 
> dictionaries?
>
> like:
>
> <dtml-call "REQUEST.set('sortby', 'firstname')">
>
> <dtml-in "queryname_py" mapped sort=_['sortby']>
> etc...



--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.               /Pete McBreen/

_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )



More information about the Zope mailing list