[Zope-CMF] Re: Where is getProperty?
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
> 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?
More information about the Zope-CMF