What you can't do, and what I suspect you are trying to do, is to make and break the connections for those many EOs in the action method bound to the submit button. As before, you are writing code you probably don't need to. You need to update the objects in the set... methods which are called in takeValuesFromRequest. The action method just saves and handles any validation exceptions.

Chuck


On Apr 10, 2007, at 8:54 AM, Ken Anderson wrote:

I unfortunately don't have the history from this thread around, but there should be no problem with having a single submit button saving hundreds of EOs, including multiple instances of the same class. I have many forms where there's a single submit, but I have hundreds of EOs on the page, and sometimes edit/insert many.

On Apr 10, 2007, at 11:48 AM, David Avendasora wrote:

That's the conclusion I've come to. So how do you submit multiple instances of one class to a form without having to click submit for every instance? Is it impossible?

On Apr 10, 2007, at 9:51 AM, Daniele Corti wrote:

wait, I've just remember: aOrderItem is the item bind in the WORepetition? if so, it will be null, when clicking Submit button, because the submit button is outside the WORepetition
(oh, well I think iit works in that way...)


 _______________________________________________
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/kenlists% 40anderhome.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
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/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
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