Re: [ZPT] creating lists of objects in tal

2006-09-07 Thread Charlie Clark
Am 07.09.2006 um 15:10 schrieb Sinan Kalkan: the "announcements python:[]" part in tal:define tag initializes the list, and the list becomes populated with the "a python:announcements.append(obj)" in tal:define tag. You should assemble all your data structures outside of your template and p

[ZPT] creating lists of objects in tal

2006-09-07 Thread Sinan Kalkan
hello there, in a page template (namely, in a portlet TAL script), i am trying to create a list of ZOPE objects (from different folders), sort them and display them in a convenient way. the portion of the script that creates the list of objects is here: