• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dead in the water - Which Field?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dead in the water - Which Field?


  • Subject: Re: Dead in the water - Which Field?
  • From: James Cicenia <email@hidden>
  • Date: Sat, 16 Jan 2010 19:51:32 -0600

Well I didn't change anything in terms of importing frameworks.
I have double checked my model against the database. Re did the migrations. Then the last thing I started
to do was to try to "copy in" ERDivaList so that I could modify it.

That was the last thing I remember doing before it breaking. I have since deleted those components.

doesn't really give me much to go on ... teh ERXModel line 71 is 

/**
* Sets the default EOEntity class to com.webobjects.eoaccess.ERXEntity. You can provide your
* own via the property <code>er.extensions.ERXModel.defaultEOEntityClassName</code> however your class
* must be in the same package unless you plan on re-implementing eof itself.
* 
* @see com.webobjects.eoaccess.EOModel#_addEntityWithPropertyList(java.lang.Object)
*/
@Override
public Object _addEntityWithPropertyList(Object propertyList) throws InstantiationException, IllegalAccessException {
71 ====> NSMutableDictionary<String, Object> list = ((NSDictionary<String, Object> )propertyList).mutableClone();
if (list.objectForKey("entityClass") == null) {
String eoEntityClassName = ERXProperties.stringForKey("er.extensions.ERXModel.defaultEOEntityClassName");
if (eoEntityClassName == null) {
eoEntityClassName = ERXEntity.class.getName();
}
list.setObjectForKey(eoEntityClassName, "entityClass" );
}
return super._addEntityWithPropertyList(list);
}


James
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
  • Follow-Ups:
    • Re: Dead in the water - Which Field?
      • From: Mike Schrag <email@hidden>
    • Re: Dead in the water - Which Field?
      • From: Chuck Hill <email@hidden>
References: 
 >Dead in the water - Which Field? (From: James Cicenia <email@hidden>)
 >Re: Dead in the water - Which Field? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Dead in the water - Which Field?
  • Next by Date: Re: Dead in the water - Which Field?
  • Previous by thread: Re: Dead in the water - Which Field?
  • Next by thread: Re: Dead in the water - Which Field?
  • Index(es):
    • Date
    • Thread