[Zope] breadcrumbs in a python script

Casey Duncan cduncan@kaivo.com
Mon, 16 Apr 2001 09:44:43 -0600


Jason Byron wrote:
> 
> Has anyone implemented something like the breadcrumbs
> trail in a python script instead of a dtml method?
> 
> jason
> 

There is a fairly undocumented attribute named "aq_chain" which could be
used. It contains a list of all the objects in the aquisition path.
Iterating over it could be used to create breadcrumbs.

hth,
-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>