On 21.08.08 14:26, "Ramsey Gurley" <[EMAIL PROTECTED]> wrote:

> (task = 'edit' and not (smartRelationship.isToMany = 1)) =>
> componentName = "ERD2WEditToOneRelationship"
> propertyName = 'location' => componentName =
> "ERD2WEditToOneRelationship"
> 
> in my rules file and some combination of those two was resulting in
> the exceptions.  Strangely, I had them disabled in RuleModeler, but
> they were still taking effect.  Deleting the rules solved the
> exception, but I'm back to a blank area for setting my manufacturer
> relationship.

Yeah, I see now that the first rule I wrote is crap. But I'd say that this
rule:

    10 : (task = 'edit' and smartRelationship != null and
smartRelationship.destinationEntity.sharedObjectFetchSpecificationNames.coun
t > 0 and not (smartRelationship.isToMany = 1)) => componentName =
ERD2WEditToOneRelationship [com.webobjects.directtoweb.Assignment],


Should take care of your problem. Are you really linking against
ERDirectToWeb? The rule above is copied from ERDirectToWeb and should take
care of your relationship.

cug


 _______________________________________________
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