[Zope3-Users] Folder listing
Florian Lindner
mailinglists at xgm.de
Wed Dec 1 09:48:36 EST 2004
Dominik Huber schrieb:
>><div tal:repeat="item context/items">
>> Title:<span tal:replace="item/name">Testtitle</span><br />
>> Desc:<span tal:replace="item/description">beschreibung</span><br
>
> />
>
>> Location:<span
>>tal:replace="item/location">Location</span><br /> </div>
>
>
> items are tuples.
> item[0] -> key
> item[1] -> object
> item[1].name -> name
>
> item/name
> requires a dict like ..\src\zope\app\container\browser\contents.py ->
> listContentInfo
Can I access these tuples directly from the ZPT or do I need to convert
them to a list first?
Thx,
Florian
More information about the Zope3-users
mailing list