Jim, Is this a typo?
i have a flattened relationship and when i try to do "return opportunity.company().containsObject(companyItem);" it would give a java.lang.NullPointerException error.
Is is supposed to be opportunity.companies(), or opportunity.companys ()? This should be a to-many relationship, returning an NSArray, not a company object. By convention, the relationship name is plural, and EOModeler will automatically give it a name ending in an "s". If this isn't the method you intended, that could be the source of your error.
Regards, Mark _______________________________________________ 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]
