Accessing WOAssociation in WOComponent with 5.2.3
Accessing WOAssociation in WOComponent with 5.2.3
- Subject: Accessing WOAssociation in WOComponent with 5.2.3
- From: David Sargent <email@hidden>
- Date: Thu, 12 Aug 2004 16:14:02 -0600
In prior versions of WO (5.1), I would do the following to get access
to the association for a binding so I could get the key path to the
object.
WOAssociation association =
(WOAssociation)((NSArray)valueForKey("_associations")).objectAtIndex(bin
dingIndex);
This would result in:
association.keyPath(): salesContact.companyName
Now that I am upgrading to 5.2.3, I can't get the "_associations"
object any more. Any suggestions on how to get an association for a
binding for a WOComponent so I can get the path of the object that is
bound to the binding?
Thanks
David
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.