[Zope] sorting a table

Stephan Goeldi Stephan Goeldi" <goeldi@goeldi.com
Tue, 16 Jul 2002 12:44:20 +0200


I am looking for a sorting mechanism similar to that in the ZMI, where I can
click on the header "ID" to let the objects be sorted by the id. This I
would like to implement in a HTML table, which is laid out like this:

id        title        date


I would like to make the headers appear as links, which reloads the current
url with something like this:

http://localhost:8080/current_page?sorttype=title

How do I have to format the dtml-in tag to use this url for sorting?

I already tried this:

dtml-in blabla .. sort=&dtml-sorttype;

without success.