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] Re: creating lists of objects in tal

2006-09-07 Thread Sinan Kalkan
hi there, i've found out my problem using PTProfiler. i've realized that i was trying to execute an object instead of trying to display its content in a tal:content tag. thanks ___ ZPT mailing list ZPT@zope.org http://mail.zope.org/mailman/listinfo/zp

[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: