7 May
2000
7 May
'00
4:42 a.m.
I really like this idea.... I posted thoughts about it on the Interface Wiki. "Phillip J. Eby" wrote:
Here's something to play with. It's not tested yet, not even tried to compile it yet. But it should give a basic idea of how PropertyHandlers might be implemented. One would use it like this:
class MyZopeObject(...):
myPropertyA = BasicPropertyHandler( id='myPropertyA', attr='_A' title='First Property', readPerm='Access MyZopeObject data', writePerm='Configure MyZopeObjects', dataType='int' )
-- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org