Hello;

I am cloning and modifying the model in the application constructor to get a read-only model. This worked very well until I started to use WO 5.4.2 prototypes. Once I started to use prototypes, the prototypes' values are not being loaded in as the model is constructed.

        EOEntity targetEntity = new EOEntity(entityPList,targetModel);
        targetModel.addEntity(targetEntity);
        ...
        targetEntity.awakeWithPropertyList(targetEntityPList);
        ...
        EOModelGroup.defaultGroup().addModel(targetModel);
        ...
NSNotificationCenter .defaultCenter().postNotification(EOModel.EntityLoadedNotification, targetEntity);

Can anybody suggest a means of working with the prototypes with in- memory model assembly?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to