Look for the PathHandler product on zope.org:
or the AccessRule symlink recipe in zopelabs.com:
Also, if you acces an URL that 'walks thru' a PythonScript, say:
the MyPythonScript PythonScript will be called and will possess a
variable 'traverse_subpath' (depending on what you set on the 'Bindings'
tab) with the list of path segments after it's own name (in this case
On Tue, 2002-03-12 at 11:22, Max M wrote:
> I am trying to create a "virtual" folder. It should get a list of
> objects from somewhere else ie. a Catalog query and then act as if the
> objects exists in that folder.
> If the objects existed in this structure:
> I want to show the objects in a new context, like:
> So an url like "/news/doc1" should actually show doc1 from
> "/Members/member1/doc1" transparently.
> Has anybody got any pointers as to how I could do this best ? My idea is
> either to subclass ObjectManager and overwrite "__getitem__()", or to
> find a way to push my objectlist onto the request object.
> Any better ideas? Pointers to code that does something similar?
> regards Max M
> Zope-Dev maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope )
Ideas don't stay in some minds very long because they don't like
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -