Personal tools
You are here: Home Zope & Plone tips Getting the parent object in an acquisition context
Navigation
 
Document Actions
  • Send this page to somebody
  • Print this page
  • Add Bookmarklet

Getting the parent object in an acquisition context

by tibi last modified 2007-04-09 14:23

To get the parent of an object, you'd have to use this code:

myparent = aq_inner.aq_parent.aq_self
Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: