Newbie-Zope/Python: Enclosing Object ID?
12 Nov
2002
12 Nov
'02
5:03 p.m.
So here's a question... How, in a zope python-script object, do I determine the enclosing/parent folderish-item of any given object-item without making reference to something like request.PARENTS[0] or something like that? I know it has to be something simple but I'm just not seeing it. Thanks -Ted
12 Nov
12 Nov
5:22 p.m.
New subject: [Zope] Newbie-Zope/Python: Enclosing Object ID?
On Tue, Nov 12, 2002 at 11:03:39AM -0600, Ted Pollari wrote:
How, in a zope python-script object, do I determine the enclosing/parent folderish-item of any given object-item without making reference to something like request.PARENTS[0] or something like that? I know it has to be something simple but I'm just not seeing it.
object.aq_parent IIRC hth Jerome Alet
8546
Age (days ago)
8546
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jerome Alet -
Ted Pollari