Hi all,

I am trying to flatten some relationships for connivence sake. For example:

Here's the structure:

RoutingComponent <<-> RoutingStep <<-> Routing <<-ManufacturingLine

I'm flattening the routingStep().routing().manufacturingLine() relationship on RoutingComponent into simply manufacturingLine().

Sure, I could easily write my own convenience method to do this, but I figured this is exactly one of the things that flattening is for.

The problem is:

foo.storedValueForKey("manufacturingLine") returns null,

But,

foo.valueForKeyPath("routingStep.routing.manufacturingLine") returns the expected ManufacturingLine.

I've made substantial changes to my Veogen templates, but I don't see the standard ones handling this either for flattened relationships.

Am I just horribly abusing flattening?

Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
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