[Zope-CMF] CMF 2.2.0-alpha: getIcon

Charlie Clark charlie at begeistert.org
Tue Nov 17 08:02:59 EST 2009


Am 16.11.2009, 18:24 Uhr, schrieb yuppie <y.2009 at wcm-solutions.de>:

> In CMF we always need the absolute URL. Since getIcon() and icon()
> already have a different meaning and something like
> getIcon(absolute=True) looks too complicated for the default, I propose
> to add a new method: getIconURL()

> getIcon() and icon() should get the same behavior as they had in CMF 2.1.

> Any thoughts?

getIconURL() would work for me. I'm not sure if I understand your e-mail  
correctly but we shouldn't be keeping four different ways of accessing the  
icon. Are any of them to be marked as to be deprecated?

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226


More information about the Zope-CMF mailing list