Johnson, Michael (MIJOHNSO) writes:
 > ... "getattr" does not work for attributes of inherited ZClasses ...

"getattr" does no special things for folderish items.
It simply accesses the attributes of an object in case,
you can not use the attribute access syntax


because either the attribute name does not follow Python name
syntax or is not constant.

Furthermore, it does not care, whether the attribute is
defined in the objects class itself or in an inherited class.

Thus, "getattr(self,your_attribute)" should work.
If not, something else is wrong (there is not attribute
with name given be "your_attribute").


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to