[Zope3-Users] Checking for existence of an adapter

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jul 15 18:34:00 EDT 2008


On Tuesday 15 July 2008, Martin Aspeli wrote:
> Specifically, I want to know if a particular view is registered for a
> particular type of context and request/layer, with a particular name.
> However, I don't have an instance of the object of that type, nor the
> request, at the time when I need to do the check.

Look at zope.app.apidoc. It has multiple APIs dealing with exactely your use 
case.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"


More information about the Zope3-users mailing list