[Zope] dtml-tree help
Pete Kazmier
pete@kazmier.com
Tue, 6 Jun 2000 07:56:29 -0400
On Mon, Jun 05, 2000 at 11:10:30PM -0400, Chris McDonough wrote:
> Pete Kazmier wrote:
> >
> > Hi,
> >
> > I think this is a simle question but I've been struggling for the last
> > two days trying to get it to work. I have a heirarchy of folders
> > (really a custom container class) and files (really a custom object).
> > I want to emulate the Window's Explorer interface, left side of page
> > occupied with a tree of the entire hierarchy, and the right side
> > contains the details.
> >
> > Is this possible? Is it also possible to synchronize both views, for
> > example, if the user decides to navigate with the right half of the
> > screen, the left half would update accordingly? Does anyone have any
> > pointers for me or links or examples?
>
> How about the Zope mgmt interface?
Duh .. guess I should have thought of that ...
> > One other question, how do I refer to a specific object in a python?
> > If /status is a folder, how would I refer to the /status folder from
> > any number of subfolders within?
>
> acquisition. :-) i'd give a longer answer but it would take five
> pages.
Boy .. how embarrassing .. I must've taken a stupid pill or something
this morning. The problem I was having is that my top level container
was called 'status' but each of these containers also has a 'status'
attribute thus when I was trying to access the root container I kept
getting the 'status' attribute of my current folder ... I guess I'll
have to pick better names to avoid these sorts of clashes in the
future.
Thanks for bringing me back to reality ...
--
Peter Kazmier http://www.kazmier.com
PGP Fingerprint 4FE7 8DA3 D0B5 9CAA 69DC 7243 1855 BC2E 4B43 5654