Hi, For a customer I'have changed the way plone.app.portlets.portletcontext.ContentContext is getting it's parent. The code is working well, but I'm askin myself how do that in a proper way with components.
To change a already existing adapter I know only two ways: override.zcml and monkey patch I have discover recently the component registry but I'm not really used to it. It seems adapter need to be named, otherwise it the throw an ValueError: Empty module name exception. Could I use the local component registry of plone to override an adapter declare throw zcml ? Is there an other way to do this ? I'm looking for something similar to browserlayer for adapter. Regards, JeanMichel FRANCOIS aka toutpt ----- Jean-Michel François aka toutpt http://toutpt.wordpress.com http://twitter.com/toutpt -- View this message in context: http://plone.293351.n2.nabble.com/Change-a-adapter-behaviour-for-one-plone-tp5008126p5008126.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
