[Zope-CMF] DirectoryViewSurrogate as context in FSPageTemplates

Hanno Schlichting hanno at hannosch.eu
Mon Jun 28 06:27:43 EDT 2010


On Mon, Jun 28, 2010 at 1:00 AM, Enrique Perez <eperez at yaco.es> wrote:
> Though I would like some comment on the container variable issue: I
> don't find changing it strictly necessary, at least for my use case, but
> without changing the container I don't feel that the semantic
> relationship between context and container remains quite right.

I think the container variable should be changed as well. You probably
don't see any problem as there's almost no code anywhere in
Zope/CMF/Plone that actually uses it. Most code does its own
aq_parent(context) calls.

Hanno


More information about the Zope-CMF mailing list