Here's the problem: my product's instance "a" contains a DTML Document "doc" and some photos "img1", "img2". A simple ZPT "lst" queries object ids:
<p><li tal:repeat="item python:here.objectIds()" tal:content="item"></p>
<p><li tal:repeat="item python:container.objectIds()" tal:content="item"></p>
I need to call this ZPT as follows: /a/doc/lst
and I expect to get a list of objects contained in "a". The problem is that lst does not provide that. The first line shows nothing, and the second line shows content of the parent Folder! I would have expected that "container" is the "a", the folderish object. Why does it not work?
I \know that I can get my list by calling /a/lst, but unfortunately I cannot do that.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce