[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: Re: [Zope-dev] problems setting up methods for a product that
From: Chris Withers <chris () simplistix ! co ! uk>
Date: 2005-09-30 13:17:56
Message-ID: 433D3B04.20505 () simplistix ! co ! uk
[Download RAW message or body]
Dieter Maurer wrote:
> You could use part of the old style initialization, the "methods"
> declaration to be precise.
>
> You see an example in ".../Products/ZSQLMethods/__init__.py".
>
> Be warned, however: the old style initialization puts
> the declared methods on the "OFS.Folder" class.
Yeah, I thought about that, but it sux for the reasons you gave.
I've found a similar solution to what's currently there which works in
both 2.7 and 2.8, so I'll make a new release sometime soon...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic