[Zope-CMF] Need advice on sorting my custom CMF object
Dieter Maurer
dieter@handshake.de
Sat, 24 Nov 2001 19:25:36 +0100
Lynn Walton writes:
> > 2. Sort with the versatile "sequence.sort" function.
> > You find a description in ".../DocumentTemplate/sequence/SortEx.py".
>
> but am having trouble knowing how to use it in a ZPT.
This time, it is much easier than you think:
"sequence" is available inside "python:" tales expressions
automatically. This means, you use:
...="python: sequence.sort(....)"...
The complex "DocumentTemplate/sequence/SortEX" was just to point you
to the documentation.
Dieter