Previously Malthe Borch wrote: > 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``?
The trick you need to know is that those request layers are added as marker interface on the request. So just replace zope.publisher.interfaces.http.IHTTPRequest with the marker interface for your skin layer. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
