Re: D2W question
Re: D2W question
- Subject: Re: D2W question
- From: Guido Neitzer <email@hidden>
- Date: Thu, 21 Aug 2008 14:34:41 -0600
- Thread-topic: D2W question
On 21.08.08 14:26, "Ramsey Gurley" <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden