[Zope-CMF] Re: Where is getProperty?
Charlie Clark
charlie at begeistert.org
Fri Jun 29 04:43:56 EDT 2007
Am 29.06.2007 um 10:37 schrieb yuppie:
> Looks like your utility isn't acquisition wrapped - getProperty is
> usually acquired from the site root.
>
> 1.) Your site seems to broken, there is currently no migration code
> that updates the lookup class if you have an old site manager
> instance.
>
> 2.) getProperty should become part of the IPropertiesTool interface
> and implementation. It should not rely on acquisition.
It's coming from the index_html.py script:
return context.index_html_template(**decode(options, script))
How should I be wrapping that?
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