[Zope-CMF] Re: Plone needs a release this week
Wichert Akkerman
wichert at wiggy.net
Tue Aug 7 07:15:26 EDT 2007
Previously yuppie wrote:
> The check for aq_base should be fine, but your example shows a second
> issue: type() is used to get the factory. That only works if the class
> is the factory.
>
> So there seems to be indeed a need to store somewhere the factory name :(
I think we need that to get the export of placeless components as well.
Without it I can't seem to think of a way to determine how the component
should be created: using a factory method (which could be the class
type itself) or some other way.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Zope-CMF
mailing list