One use case comparable to the one I have would be to change all objects of type Folder to OrderedFolder.
To do that, I envisionned finding all thoses objects and doing
ob.__class__ = OrderedFolder ob._p_changed = 1
Would this work ?
If not, what other hack could I do ? The idea being that I don't want to recreate all the objects.
Florent
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED]
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )