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

Lennart Regebro regebro at gmail.com
Tue Sep 26 18:10:35 CEST 2006


On 9/26/06, Suresh V. <suresh_vv at yahoo.com> wrote:
> I have a method in y content class that calls getParentNode().

First time I heard of getParentNode. Where does it come from?

> What I want is the parent object in the Zope hierarchy.

Usually self.context.aq_parent, in a view.


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


More information about the z3-five mailing list