[Zope] sorting a table

Casey Duncan casey@zope.com
Tue, 16 Jul 2002 10:01:31 -0400


On Tuesday 16 July 2002 09:33 am, Stephan Goeldi wrote:
> > Ok...its sort of complicated and there are a lot of supporting files,=
 but
> > here are a few of them. You should be able to get the concept from
> these...
>=20
> No, my wish is much simpler:
>=20
> I have this dtml-in:
>=20
> <dtml-in blabla sort=3Dsortkey>
>   <blabla>
> </dtml-in>
>=20
> I just want to reload the url with something like this:
>=20
> http://url/blabla?sortkey=3Dtitle
>=20
> Is this so complicated? How can I bring a variable from the url to the
> dtml-in Tag?

try:

<dtml-in blabla sort_expr=3D"sortkey">
  <blabla>
</dtml-in>

hth,

-Casey