-----BEGIN PGP SIGNED MESSAGE-----
On 19 Nov 2006, at 17:39, Rocky Burt wrote:
+ tool = getUtility(IActionsTool, context=site)
This looks like it will be the new way of looking up CMF tools? Looks
great. But we shouldn't have to specify ``context=site`` should we?
getUtility should automatically figure out what the nearest chain of
sites should be and look for local utilities in each one of them
Well, I get ComponentLookupErrors in this specific case when I don't
pass the context :/ Mind you, this could be a result of how the
tests are set up.
I'm hoping to finish it off (specifying the context only where I have
to), put it out there for everyone to look at, and gather suggestions
for improvemements then.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
-----END PGP SIGNATURE-----
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests