[Zope-CMF] Adding acquisition containers to a CMF object.
Kent Polk
kent@goathill.org
Fri, 29 Jun 2001 16:55:57 -0500 (CDT)
Dieter Maurer wrote:
> Kent Polk writes:
> > Dieter Maurer wrote:
> > Basically, how do you perform the equivalent of adding a folder
> > component to the URL without having it in the URL? When looking
> > for suggestings,
>
> * You can use a SiteAccess AccessRule to put it into the
> URL for traversal purposes only.
>
> * You can look how "TransparentFolder" does its magic
> (it manipulates the acquisition context in a way, that
> its content appears to be the content of the containing
> folder).
I've looked extensively at both of these. SiteAccess does somewhat
the opposite of what I want. I was looking at TransparentFolder
yesterday and it looks like it may work supposing I really can just
add _is_transparent = 1 to my folder and will it work as a
TransparentFolder.
However, one problem is that I need to be able to explicitly select
*which* folder gets used and I don't quite see how I could do that
with TransparentFolder. It appears that all TransparentFolders
will be available for use and I don't see a way to control this.
(Any more suggestions? :^)
Thanks