[Zope-CMF] Accessing subobjects

Andreas Jung andreas@andreas-jung.com
Wed, 02 Oct 2002 10:01:02 +0200


An instance of a CMF class has a method getAllProperties() that returns
a list of instances of a Python class XX. Inside a ZPT I want to call

<tr tal:repeat="prop here/getAllProperties">
 <th tal:content="prop/getDescription">...</th>
</tr>

where getDescription() is a method of the class XX. This fails with
"you are not allowed to access getDescription in this context" although
__allow_access_to_unprotected_subobjects__ is set to 1.

Am I missing something or this there a workaround for the problem?

Andreas