[z3-five] getParentNode() returns View class!

Lennart Regebro regebro at gmail.com
Wed Sep 27 09:04:54 CEST 2006


On 9/27/06, Suresh V. <suresh_vv at yahoo.com> wrote:
> Are these attributes defined for all objects?

ONly for objects that are acquicistion-wrapped.

> My
> impression is that they are used only inside a Python
> Script and not in filesystem code.

You can use them in both places, but the methods you often use in
filesystem code are safer as they will not fail if you have a
non-wrapped object.

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the z3-five mailing list