Lets say you have Class and Student objects

Lets say you want to select all the Students for a given Class using the ERXCheckboxMatrix.

Class.setStudents(selectedStudents)

That should about do it. Your generated EOs will have the setter method for to-many relationships.

Unless I am missing something?

David

On 19-Mar-08, at 1:49 PM, Daniel Brajkovic wrote:

If I have an ERXCheckbox matrix in a form, what is the best way for me to get the array of selected items inserted into the EditingContext and also added to both sides of a relationship? I know iteration is one option, but is there a method somewhere that I am missing?

Dan
 _______________________________________________
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/programmingosx %40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
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