[Zope-CMF] Accessing subobjects
Jens Vagelpohl
jens@zope.com
Wed, 2 Oct 2002 07:30:34 -0400
have you tried setting an explicit security declaration on that method?
jens
On Wednesday, Oct 2, 2002, at 04:01 US/Eastern, Andreas Jung wrote:
> 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
>