Hallo, On Fri, Oct 15, 1999 at 04:04:58AM +0200, Sascha Matzke wrote:
What should I say, it works good enough for my application and I noticed no drawbacks (yet!).
Peng... Some hours after writing this Mail I've noticed some very big drawbacks. So simply forget it... I now have a python-only solution... def reviewObject(self, id): object = self._getOb(id) self.Review._setObject(id,object) self._delObject(id) It simply moves an object to an defined Folder. But you could easily add something like this. *** Warning, untested code *** def reviewObject(self, id, aq_path_to_target="Review"): object = self._getOb(id) try: target = eval('self.' + aq_path_to_target) target._setOb(id) self._delObject(id) except: catch some exception or not *** Warning, untested code *** Sascha -- .-> Sascha Matzke - sascha@bespin.de - http://www.bespin.de -. | Keine Macht fuer niemand... | | Ton Steine Scherben | `-- On this earth for 24 years, 1 days <----------------'