11 Mar
2005
11 Mar
'05
10:14 a.m.
Dario Lopez-Kästen wrote:
but I still get
""" The container has no security assertions. Access to 'lname' of (Products.pdbapi.person.Person instance at 0x03449DA0) denied. """
errors when I try to access the attributes of a person object in the list.
What about wrapping them with something like? class AccessWrapper: __allow_access_to_unprotected_subobjects = 1 def __init__(self, obj): self._obj = obj def __getattr__(self, attr): return getattr(self._obj) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science