Re: ERXEntityClassDescription
Re: ERXEntityClassDescription
- Subject: Re: ERXEntityClassDescription
- From: Anjo Krank <email@hidden>
- Date: Mon, 22 Aug 2005 16:21:07 +0200
Am 22.08.2005 um 16:12 schrieb Daniel Eggert:
Thank you! I solved it by putting a
ERXEntityClassDescription.registerDescription();
into the constructor of my application class.
OK.
I'm using XCode, but I don't think I can adjust the Framework
loading from inside XCode. What is that frameworks dialog you're
refering to?
In XCode 2, you can drag the frameworks in a different order directly
in the "Frameworks" folder. My guess is that this is the same the the
dialog in a previous version. Do it, then compare the <app>/Contents/
MacOS/MacOSXClassPath.txt files.
Cheers, Anjo
I'm using WO 5.3 with Wonder 2.0 and WOUnitTest. The app init code is:
public class Application extends ERXApplication {
EOSharedEditingContext sharedEditingContext;
public static void main(String argv[]) {
ERXApplication.main(argv, Application.class);
}
public Application() {
super();
ERXEntityClassDescription.registerDescription();
EOFValidation.installValidation();
fetchReadOnlyEOsIntoSharedEditingContext();
}
public void fetchReadOnlyEOsIntoSharedEditingContext(){
String entityName = Category.entityName;
sharedEditingContext =
EOSharedEditingContext.defaultSharedEditingContext();
EOFetchSpecification categoriesFetchSpec =
EOFetchSpecification.fetchSpecificationNamed( "FetchCategories",
entityName );
if (categoriesFetchSpec != null) {
sharedEditingContext.bindObjectsWithFetchSpecification
( categoriesFetchSpec, "FetchCategories" );
}
}
}
/Daniel
On Aug 21, 2005, at 10:40 PM, Anjo Krank wrote:
You probably call up the EOModelGroup before
ERXEntityClassDescription did load. If you use XCode, you could
try to drag ERExtensions higher up in the frameworks dialog. If
that doesn't work: Wonder version? WO Version, App init code?
Other framework init code?
Not having it loaded will prevent validation and defaults from
working.
Am 21.08.2005 um 22:26 schrieb Daniel Eggert:
I'm seeing these for each entity when I start my WO app:
2005-08-21 22:15:39,478 WARN Aurora[1055:50000 0]
ERXEntityClassDescription (ERXEntityClassDescription.java:247) -
Entity classDescription is not ERXEntityClassDescription: Customer
I've looked at ERXEntityClassDescription.java:247, but I can not
figure out:
1) What is causing this?
2) What problems would arise from classDescription not being
ERXEntityClassDescription?
Thanks in advance.
/Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40logicunited.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden