Leonardo Rochael Almeida wrote:

>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

Thanks, but I don't think my problem should be solved by manipulating 
paths. Rather I need to push a list of objects into the current namespace.

Here is some sseudocode for how I believe it to be:

def __getattr__(self, name):
    # build temp namespace
    objList = getObjectsFromAllOverTheSite() # ;-)
    for obj in objList:
        linkedObjects[obj.getId()] = obj

    if linkedObjects.has_key(name):
        return linkedObjects[name]
        return getattr(self, name)

I am just pretty unshure about this approach though, so I am fishing for 
anything like it. The closest thing I have found was in the "Transparent 
Folder" product.

regards Max M

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to