On Wed, Apr 20, 2005 at 12:12:04PM -0400, Bjorn Tillenius wrote:
> On Fri, Apr 15, 2005 at 03:26:41PM -0400, Brad Bollenbach wrote:
> [snip explanation about having register the same component twice when
>  adding a new absolute url view]

[more snipping about why this is the case]

> 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?

Can you give an example of what your idea for an implementation would
look like to me using this in ZPT?


Brad Bollenbach
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to