On Wed, Jul 28, 2010 at 1:17 PM, yuppie <y.2...@wcm-solutions.de> wrote:
> Hanno Schlichting wrote:
> ContentInit is only used for BBB. It registers oldstyle constructors.
Well, right. Except in Plone / Archetypes this and variants based on
it are still the only option. Archetypes doesn't know about add views
or any of that "new" IFactory pattern.
>> I'd love to see someone tackle registerClass and at the same time
>> decouple ZMI add menu visibility and the OFS.CopySupport stuff.
> You mean the CopySupport issue I fixed 5 years ago? Or something
> different? http://svn.zope.org/?view=rev&rev=40552
> five:registerClass doesn't require to specify an 'addview'. CopySupport
> works for all CMF content types without adding them to the ZMI add menu.
> We just can't use five:registerClass in OFS/OFSP because it doesn't
> support oldstyle constructors and legacy methods.
Ah, yeah! This was exactly what I meant. I had no idea this was already done.
So a belated thank you :)
Zope-CMF maillist - Zope-CMF@zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests