[Product-Developers] Re: How to override an adapter which is already overridden by CMFPlone ?

Malthe Borch mborch at gmail.com
Tue Aug 26 09:21:29 UTC 2008


Rafael Oliveira wrote:
> Going back to the original question. The adapter I was trying to override is:
> 
>    <adapter
>        for="zope.publisher.interfaces.http.IHTTPRequest"
>        provides="zope.i18n.interfaces.IUserPreferredLanguages"
>        factory=.../>

Why don't you qualify the registration with a request layer, e.g. 
``IThemeSpecific``?

\malthe





More information about the Product-Developers mailing list