Chris McDonough wrote:
> On 4/8/10 4:36 PM, Marius Gedminas wrote:
>>> from zope.component import getSiteManager
>> That seems a bit short-sighted: it would break all tests that rely on
>> setSite() working.
> He said he wanted a global registry, but.. who knows? I stay as far away from
> that API as possible. ;-)
Marius is right - I need standard stuff like setSite(), local components
and that pesky global API (provideAdapter etc.) to work.
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -