[Zope-CMF] CMF Tests: 3 OK, 1 Unknown
Summary of messages to the cmf-tests list. Period Sat Oct 23 12:00:00 2010 UTC to Sun Oct 24 12:00:00 2010 UTC. There were 4 messages: 4 from CMF Tests. Unknown --- Subject: UNKNOWN : CMF-trunk Zope-2.12 Python-2.6.5 : Linux From: CMF Tests Date: Sat Oct 23 21:55:24 EDT 2010 URL: http://mail.zope.org/pipermail/cmf-tests/2010-October/013688.html Tests passed OK --- Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux From: CMF Tests Date: Sat Oct 23 21:49:24 EDT 2010 URL: http://mail.zope.org/pipermail/cmf-tests/2010-October/013685.html Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.6 : Linux From: CMF Tests Date: Sat Oct 23 21:51:24 EDT 2010 URL: http://mail.zope.org/pipermail/cmf-tests/2010-October/013686.html Subject: OK : CMF-2.2 Zope-2.12 Python-2.6.5 : Linux From: CMF Tests Date: Sat Oct 23 21:53:24 EDT 2010 URL: http://mail.zope.org/pipermail/cmf-tests/2010-October/013687.html ___ 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
Re: [Zope-CMF] [Zope-dev] SVN: five.pt/trunk/src/five/pt/ The container should be the Acquisition.aq_parent.
On Sun, Oct 24, 2010 at 2:29 PM, Tres Seaver 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