I've been struggling with a container view that displays attributes of
the items contained in the container. In the page template for the
container, I want to display some attributes from each of the items.

The following works fine

        <div tal:content="python:context['item1'].text">
        </div>

The following produces a Forbidden Attribute error

        <div tal:repeat="item context/items">
            <div tal:content="item/text"></div>
        </div>

What am I doing wrong? Should I be accessing the items in the
container a different way?

- Jim
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to