• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Submitting multiple instances in one WOForm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Submitting multiple instances in one WOForm


  • Subject: Re: Submitting multiple instances in one WOForm
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 10 Apr 2007 09:02:35 -0700

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@hidden)
Help/Unsubscribe/Update your Subscription:
40anderhome.com


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden

--

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Submitting multiple instances in one WOForm (From: David Avendasora <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: "Daniele Corti" <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: David Avendasora <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: "Daniele Corti" <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: David Avendasora <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: "Daniele Corti" <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: David Avendasora <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: "Daniele Corti" <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: David Avendasora <email@hidden>)
 >Re: Submitting multiple instances in one WOForm (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: How to Retrieve Session User?
  • Next by Date: Re: Submitting multiple instances in one WOForm
  • Previous by thread: Re: Submitting multiple instances in one WOForm
  • Next by thread: Re: Submitting multiple instances in one WOForm
  • Index(es):
    • Date
    • Thread