[ZPT] tal:repeat over the sorted keys of a dictionary

Chris Withers chrisw at nipltd.com
Mon Jul 28 11:31:35 EDT 2003


Shane Hathaway wrote:
> Well, FWIW, this is yet another case that would benefit from prefixes. 
> Something like this:
> 
>        <ul tal:repeat="key licenses/keys/format:sort">
>            <li tal:content="licenses/key" />
>        </ul>

AFAIK, the code to support this is alread ypresent in Zope 3's TALES...

cheers,

Chris




More information about the ZPT mailing list