restrictedChoiceKey....

Hmmm....

Ahg! WOnder. Figures. :)

I was hopping for a WO-only solution.

Thanks for the quick reply though!

Dave

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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lists%40event-s.net

This email sent to [EMAIL PROTECTED]

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




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to