From: pkoelle <pk...@gm...> - 2004-12-30 02:55:20
|
Hi list, im sure I'm overlooking something simple but I haven't found a way to define a way to overide the setter and not hardcoding the columns name. I can do something like: def _setWorker(self, value): blabla self._SO_set_Worker(value) but this applies to the Worker column only and I have to perform the same operation for all columns and rather like to avoid writing the same code for each column. Using _SO_setValue() seemed possible at first but one problem remains: How do I access the name of the column in the methods body? Furthermore I have no idea if messing with _SO_setValue() is a sane approach. Any ideas? thanks Paul |