[Zope-CMF] Re: [dev] listFilteredActionsFor and ActionProvider
refactoring
Yuppie
schubbe at web.de
Wed Nov 26 05:31:27 EST 2003
Dieter Maurer wrote:
> There may be an issue with using "REQUEST" for caching -- maybe not
> in this particular case:
>
> We are using Zope infrastructure extensively in non-Zope
> Python scripts that access the ZODB via ZEO.
> In such a use, there is not request object (at least not
> naturally).
>
> I already extended the "SkinsTool" to work without the need
> for a request object.
>
> Currently, we do not need the "ActionsTool" from non-Zope scripts.
> Maybe, this changes sometimes in the future.
I guess querying ActionProviders doesn't make much sense if we don't
access the Site TTW.
Anyway, I disabled caching in case there is no REQUEST.
Cheers,
Yuppie
More information about the Zope-CMF
mailing list