On 23/10/2007, Dieter Maurer <[EMAIL PROTECTED]> 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 _______________________________________________ Zope-Dev maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
