"Maurits van Rees" wrote...
> ... But I tend to do it like this:
>
> def __get_appname(self):
> return self.mapping.get('appname', 'default string')
> def __set_appname(self, v):
> if not isinstance(v, str): # or unicode, whatever
> v = float(v)
> self.mapping['appname'] = v
> appname = property(__get_appname, __set_appname)
Thanks for taking the time to reply Maurits.
I now define the properties in the way you describe above, but I'm
unfortunately still having the same problem :(
--Emyr
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers