[Zope-CMF] DirectoryView question
Andy McKay
andy@agmweb.ca
Fri, 8 Nov 2002 16:30:27 -0800
I found a workaround and checked it in. You can specify a cache for your
objects (PythonScripts, PageTemplates, DTMLMethods, Files and Images) to use
in the .properties file eg:
cache=Somecache
--
Andy McKay
www.agmweb.ca
----- Original Message -----
From: "seb bacon" <seb@jamkit.com>
To: "Andy McKay" <andy@agmweb.ca>
Cc: <zope-cmf@zope.org>
Sent: Wednesday, November 06, 2002 4:22 AM
Subject: Re: [Zope-CMF] DirectoryView question
>
>
> Andy McKay wrote:
> >>The easiest way around this is to give DirectoryViewSurrogate the
> >>_is_wrappable param so that _getContext gets context from the parent
> >>DirectoryView object, a stable object.
> >
> >
> > Doing this hoses some things including the ZMI, although it works great
for
> > caching. Don't do this at home folks ;)
>
> Is the issue simply that you need a unique key for FSObjects? Have you
> solved it yet? This is something I was going to look at fairly soon, so
> if you've got the code I'll have a look at it if you like.
>
> seb
>
>