Access to properties without accessing the same properties in parent classes
Is there a possibilty with the method "hasProperty(...)" to test an object to have a special property without looking for the same property not inherited by the parents part of the object? Thank you very much Fritz
Dr. F. Tröster wrote:
Is there a possibilty with the method "hasProperty(...)" to test an object to have a special property without looking for the same property not inherited by the parents part of the object?
please no html-mails. explicit acquisition should help: yourObject.aq_explicit.hasProperty(...) -mj
Dr. F. Tröster <troester@fh-heilbronn.de> wrote:
Is there a possibilty with the method "hasProperty(...)" to test an object to have a special property without looking for the same property not inherited by the parents part of the object?
ob.hasProperty() never uses acquisition, it always searches in ob and that's it. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
participants (3)
-
Dr. F. Tröster -
Florent Guillaume -
Maik Jablonski