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
[EMAIL PROTECTED] - email
(617) 598-1014 x5511 - voicemail/fax



__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to