[Zope] Re: Navigation/object relationships
Max M
maxm at mxm.dk
Tue Jun 15 18:44:40 EDT 2004
Michael Ekstrand wrote:
> What I am looking for is a relatively painless way to determine for an
> object y, contained somewhere under object x, what is the
> relationship/containment hierarchy from x to y? Or, at the very least, how
> do I obtain a given object's container? I have figured out how to do that
> with path expressions in TAL, but something I can do from a PythonScript
> would be most useful.
If you don't care for the tree widget, I think you need to make an
external method that does a recursive call for the objets you want listed.
--
hilsen/regards Max M, Denmark
http://www.mxm.dk/
IT's Mad Science
More information about the Zope
mailing list