• 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
limiting popupbutton list with a fetchSpec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

limiting popupbutton list with a fetchSpec


  • Subject: limiting popupbutton list with a fetchSpec
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 29 Jan 2015 09:12:51 -0500

I have an Entity Person that has a toMany to Book.

When I click the ‘new’ button in my EditRelationshipEmbeddedBookPerson I want to limit the popupButton to only those books that this person should see.

The Person has an instrument. The Book has an instrument. so the popup list should be only those books with the same instrument.

 But one layer deeper. a Person is assigned to one or many Shows. the Books belong to a show. So if Person 1 only play one show and plays viola (I know its a handicapped Person), the popup list only shows that one book as available to assign.

I don’t see how to create a fetch spec that i can pass in my Person and limit the popup list.

Am I clear? We could change the instrument if thinking its a Viola makes one squeamish!

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


  • Prev by Date: Re: Qualifier involving many-to-many relationship
  • Next by Date: Re: webobjects-dev list is good, but why not Stack Exchange (or the like)
  • Previous by thread: Re: Qualifier involving many-to-many relationship
  • Next by thread: Re: webobjects-dev list is good, but why not Stack Exchange (or the like)
  • Index(es):
    • Date
    • Thread