• 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
Newbie D2JC Context-Sensitive Dropdowns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie D2JC Context-Sensitive Dropdowns


  • Subject: Newbie D2JC Context-Sensitive Dropdowns
  • From: David Avendasora <email@hidden>
  • Date: Thu, 1 Dec 2005 12:21:29 +0000

Hi all,

This is a newbie question. I am building a Direct to Java Client app and I've got the data and object models and the basic screens pretty well nailed down. I'm now starting to add some business logic into the application.

I have no problem creating the custom classes, setting defaults or adding additional actions but I'm drawing a blank when it comes to making EOOneValueEnumerationControllers context sensitive.

I want to limit the number of options available for a given attribute depending upon other attributes in the same object. For example, once I specify that the unitOfMeasureType a given object is "length" then I only want to see unitOfMeasure values that are of type "Length" instead of seeing all of the types which include weight, volume, etc.

Right now I am simply displaying ALL the possible unitOfMeasure values in the database in the drop-down, only some of which are valid for any given object.

I'm assuming that I will do it by calling a fetch specification, but I can't find any examples of this in any of the WO books I have, or Apple's examples. If they are there and I've just missed them, please point me to them.

Thanks,

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


References: 
 >(no subject) (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Creating PDF output on demand
  • Next by Date: Re: (no subject)
  • Previous by thread: (no subject)
  • Next by thread: Re: Newbie D2JC Context-Sensitive Dropdowns
  • Index(es):
    • Date
    • Thread