[Zope3-dev] Absolute URLs and Named vs. Unnamed Adapters

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 21 08:13:41 EDT 2005


On Wednesday 20 April 2005 12:12, Bjorn Tillenius wrote:
> IMO, the problem lies in that we can't look up a view providing a
> specific interface. I don't think that zapi.absoluteURL should be
> changed to solve problems related to ZPT. Instead it would be better to
> make the ZPT adapter look up a view providing IAbsoluteURL, and use
> that to do its work. That way when defining a new IAbsoluteURL view,
> we'd only have to register an unnamed view, and it'd be used both in
> Python code and in ZPT.
>
> Any objections against implementing this solution?

That sounds okay.

Regards,
Stephan
-- 
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