On Sun, Oct 24, 2010 at 2:29 PM, Tres Seaver <tsea...@palladion.com> wrote: > 'container' is supposed to be the folder which holds the script / > template, not the context. In a CMF site, that will typically be the > site root, given the way items in skin layers appear to be direct > attributes of the portal object. For purposes of Five views, the "view > object" seemss like the right object to be the 'container' for the > template: if that is the case here (hard to see from just the diff), great.
Note this comment from Products.Five.browser.pagetemplatefile in the pt_getContext method (made during the AQ vs. parent pointer work): namespace.update( here=obj, # philiKON thinks container should be the view, # but BBB is more important than aesthetics. container=obj, ... So in view page templates container and context have historically always been the same. So far we said BBB trumps anything else here. Hanno _______________________________________________ Zope-CMF maillist - Zope-CMF@zope.org https://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests