• 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: D2W question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: D2W question
      • From: Ramsey Gurley <email@hidden>
References: 
 >Re: D2W question (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: D2W question
  • Next by Date: Re: AjaxUpdateLink / Container
  • Previous by thread: Re: D2W question
  • Next by thread: Re: D2W question
  • Index(es):
    • Date
    • Thread