[Zope3-dev] registering nameless utilities

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun May 9 17:39:58 EDT 2004


On Friday 07 May 2004 19:49, Garrett Smith wrote:
> I want to lookup a utility using:
>
>    zapi.getUtility(iface)
>
> When I try to register a local utility with a site manager, the UI
> insists I provide a name. (The 'name' attribute of IUtilityRegistration
> is required.)
>
> How can I register a 'nameless' utility?

You should not be required to enter a name. If you are required to do so, it 
is a bug.

-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope3-dev mailing list