On 23/10/2007, Dieter Maurer <dieter@handshake.de> wrote:
Laurence Rowe wrote at 2007-10-23 12:00 +0100:
Lennart Regebro wrote: ...
I guess we need to either actually implement the relevant interfaces, or split the interfaces into something that can be implemented...
Preferably not too far down the class hierarchy. It would be useful for things such as cmf's PortalFolder not to implement IContainer directly, it makes non-zodb content much easier if an adapter can be used.
Are you abusing adapters?
If not, it should not matter whether the object implements an interface directly or whether an adapter is needed...
Possibly, but I just want the higher level CMF functionality without assumptions about the lower level functionality (would not be a problem in a pure zope 3 environment). Laurence