RE: [Zope-dev] Adding your own (complex) data types to property p ages: example and problems...
Incidentally, I just finished the simplistic method I described. (Attached 2 files, import the .py file and it updates PropertyPages to use its mechanisms). I've only tested it lightly (1 or 2 properties per input), but it is pretty much a direct rip of the stuff in properties.py . If general consensus is that this is too ugly, I'll stop working on it (I was thinking of putting this and the extant converters module into one registry class/object that would have registration/deregistration support, but what's here now does what I need it to do (incidentally, it also adds all of the types with input handlers to the list of datatypes in the "create property" part of the properties form). "While we're waiting for the real solutions, this might fix the problem." Enjoy, Mike
participants (1)
-
Mike Fletcher