Andreas Jung wrote:



--On 30. Juni 2005 22:27:37 +0100 John Poltorak <[EMAIL PROTECTED]> wrote:

I have some code which here:-

<ul tal:condition="python: context.objectValues(['Folder'])">
  <li tal:repeat="item python: context.objectValues(['Folder'])">
    <a href="ABSOLUTE_URL"
       tal:attributes="href item/absolute_url"
       tal:content="item/title_or_id">SUB-OBJECT TITLE OR ID</a></li>
</ul>

What I'd like to do is skip the first list. If I want to generate a list
of folders in say the 'groups' folder, how would I change the code above?



What is your real problem? I've read the posting three time and I not still not getting to the point what you mean.

John, I'm not sure what you mean either -- but if my guess *is* right, try changing the two occurrances of "context" to "context.groups"

Nikko
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to