Andreas Jung wrote:
--On Dienstag, 7. Januar 2003 09:46 +0200 Heimo Laukkanen <huima@fountainpark.org> wrote:
Hi all,
I just developed an application on a Zope 2.6 machine with PropertyObject and PropertyFolders - and exported it to 2.5.1 machine. I noticed that strangely enough on 2.5.1 PropertyObject's behaviour changed.
Developing under 2.6 and backporting to an older version is in general *a bad idea*.
-aj
Hi, PropertyObject works with Zope2.5.1, PropertyFolder does not, because it needs some functionality (__browser_default__) which was introduced in Zope 2.6. A simple workaround: please insert into PropeertyFolder.py a line like: index_html = __call__ Then things will work with Zope2.5.1, but you can't add "index_html"'s to your PropertyFolders anymore. But maybe you don't need this...;) Cheers, Maik