[Zope] How to get PARENTS[-1] from within a Python Product
Ira Hochman
go2ira@onebox.com
Sat, 26 Aug 2000 15:14:37 -0700
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