[Product-Developers] safe way to get the parent of an object?
maarten at usecm.com
Thu Mar 22 16:53:57 UTC 2012
I'm using obj.getParentNode() to get the parent of an object.
However, I now read that this function returns obj.aq_parent, and that this is
not guaranteed to always be correct.
Apparently, the safe way is to use obj.aq_inner.aq_parent.
Is this true? And is obj.aq_inner.aq_parent guaranteed to exist?
More information about the Product-Developers