[Zope] Pretend folders

Chris McDonough chrism@zope.com
Mon, 22 Jul 2002 09:34:41 -0400


>From the /directory object return a non-persistent object that has
security declarations and a __bobo_traverse__ method which returns
an object that contains its "children".  Each of those children can
have children ad infinitum.  See the Zope Developer's Guide Object
Publishing chapter for more info on __bobo_traverse__.

----- Original Message -----
From: "Peter Bengtsson" <mail@peterbe.com>
To: <zope@zope.org>
Sent: Monday, July 22, 2002 4:42 AM
Subject: [Zope] Pretend folders


> What I want is to be able to pretend that a certain folder exists
when it
> doesn't.
>  From a database of directory structures I would like to be able
to build
> up fake folders that don't exist.
> So instead of http://host/directory?dir_id=345 I would like to
have
> http://host/directory/Business/Entertainment/Music
>
> How do I go abouts doing this?
>


--------------------------------------------------------------------
------------


>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.361 / Virus Database: 199 - Release Date: 2002-05-07
>