[Zope-CMF] getIcon question
Tres Seaver
tseaver@palladion.com
Sat, 02 Jun 2001 13:47:15 -0400
Chris Withers wrote:
> I see the contentish interface requires as getIcon method, and yet none of
> the default portal content types appear to have a method of this name.
> Should this be fixed?
Check out CMFCore.DynamicType; all the stock content objects derive
from it,
and get their 'getIcon' implemetation therefrom.
> I'm currently refactoring action_box.dtml and there's some nasty logic in
> there which I think is only to help out content types which aren't
> implementing the interface properly.
>
> comments welcome :-)
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org