How to get PARENTS[-1] from within a Python Product
26 Aug
2000
26 Aug
'00
10:14 p.m.
Hello- How does one retrieve the equivalent of PARENTS[-1] from within a Python Product in Zope? I have tried self.aq_parent.absolute_url() which gets the equivalent of PARENTS[0], but I need to get PARENTS[-1]. I am trying to isolate/preserve the portion of the path that contains cgi/pcgi info, if any (as in "http://yoursite.com/bin-cgi/Zope.pcgi"). Alternate approaches to accomplish the same would also be welcome. -- Ira Hochman go2ira@onebox.com - email (617) 598-1014 x5511 - voicemail/fax __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com
9354
Age (days ago)
9354
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ira Hochman