• 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 and Qualifying Relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W and Qualifying Relationships


  • Subject: Re: D2W and Qualifying Relationships
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 8 Jul 2008 13:09:46 -0700


On Jul 8, 2008, at 1:07 PM, David Avendasora wrote:

restrictedChoiceKey....

Hmmm....

Ahg! WOnder. Figures. :)

I was hopping for a WO-only solution.

Thanks for the quick reply though!

I thought The First Rule of D2W was "D2W without Wonder is a deadlock waiting to happen"


Chuck


On Jul 8, 2008, at 3:45 PM, Guido Neitzer wrote:

If you have them on the same page, you need to do an Ajax call to set the manufacturingLine and than limit the other one with the restrictedChoiceKey in the rules. Never tried that though.

cug

On 08.07.2008, at 12:55, David Avendasora wrote:

I have two to-one relationships on my Routing entity:

Routing -> ManufacturingLine
Routing -> WorkCenter

ManufacturingLine and WorkCenter are also related with a many-to- many:

ManufacturingLine <<->> WorkCenter

On the form for Routing, I'd like to restrict the possible options on the WorkCenter popup to only the ones that are also related to the Routing's selected ManufacturingLine.

Is there a way to do that by writing a rule in the d2w.d2wmodel file, or otherwise qualify the NSArray that populates the popup? I've been digging through the D2W API and I can't seem to figure it out.

I think it was Guido that mentioned doing this during a between- session conversation at WOWODC this year, I just can't remember.

Dave
_______________________________________________
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

-- http://www.event-s.net




_______________________________________________ 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


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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 and Qualifying Relationships
      • From: David Avendasora <email@hidden>
    • Re: D2W and Qualifying Relationships
      • From: Alan Ward <email@hidden>
References: 
 >D2W and Qualifying Relationships (From: David Avendasora <email@hidden>)
 >Re: D2W and Qualifying Relationships (From: Guido Neitzer <email@hidden>)
 >Re: D2W and Qualifying Relationships (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: D2W and Qualifying Relationships
  • Next by Date: Re: D2W and Qualifying Relationships
  • Previous by thread: Re: D2W and Qualifying Relationships
  • Next by thread: Re: D2W and Qualifying Relationships
  • Index(es):
    • Date
    • Thread