On Apr 10, 2008, at 11:46 AM, Martin J.Laubach wrote:
> ViewPageTemplate must be in the view's namespace, and it magically
> fishes out the view, view's context and request, and makes them
> available in the TAL namespace.

 Ah, so there _IS_ heavy magic involved here. Thanks for
clarifying that, I was already doubting my sanity!

This is exactly the same magic that methods use. ViewPageTemplateFiles are, like functions, meant to be used as methods and to be bound to instances.


Jim Fulton
Zope Corporation

Zope3-users mailing list

Reply via email to