(no subject)
(no subject)
- Subject: (no subject)
- From: David Avendasora <email@hidden>
- Date: Thu, 1 Dec 2005 12:16:04 +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