12 Jun
2006
12 Jun
'06
10:30 a.m.
Chris Withers wrote:
Florent Guillaume wrote:
Anyway for EE the 'methods' use can be replaced by: from OFS.Folder import Folder Folder.externalEdit_ = ExternalEditor() Folder.externalEditLink_ = EditLink
And this is supposed to be better?!
That's ExternalEditor's problem. At least the monkey patching is explicit, and in line with what the rest of __init__.py does. ExternalEditor is all about monkey patching.
Until a sane alternative is available, I'd proprose to un-deprecate these methods...
'methods' in __init__.py is not sane, it's big magic and nobody knows about it or how it works. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com