On Sun, Nov 08, 2009, Martin Aspeli wrote:
>Bill Campbell wrote:
>> Is it possible to change the class of an existing object?
>>
>> I am creating a product with argouml and archgenxml with a class
>> that is a subclass of a normal folder with a couple of additional
>> fields, and a customized view. I would like to be able to change
>> some existing folders to this new class without having to create
>> a new object, then copy/paste or otherwise move the existing
>> objects in the folder?
>
>What you want is migration. Look at
>
http://pypi.python.org/pypi/Products.contentmigration, which provides a
>framework for this kind of thing. plone.app.blob contains examples of
>its use.
Thanks. I'll take a look at that.
I have read the migration docs in RichDocument several times, but
never have gotten my head around it.
Bill
--
INTERNET:
[hidden email] Bill Campbell; Celestial Software LLC
URL:
http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
One of the common failings among honorable people is a failure to
appreciate how thoroughly dishonorable some other people can be, and how
dangerous it is to trust them.
- Thomas Sowell
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users