• 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: WOForm and "multipleSubmit"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOForm and "multipleSubmit"


  • Subject: Re: WOForm and "multipleSubmit"
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 9 Feb 2007 18:50:26 -0500

It's actually more of an effect on WOSubmitButton than it is on WOForm ... WOForm calls wocontext._setIsMultipleSubmitForm(true), then passes down to its children. For a WOSubmitButton, if the context is multiple submit, the action on the submit button will only be called if the submit button's name is in the form values (and it will call wocontext._setActionInvoked(true)). In the non-multiple- submit case, a WOSubmitButton inside the form will ALWAYS call its action (and set wocontext._setActionInvoked(true)). When invokeAction returns to the WOForm, the form's action binding is called only if !wocontext._wasActionInvoked().

ms

On Feb 9, 2007, at 5:52 PM, Andrew Lindesay wrote:

Hello;

Aside from the obvious end-effect of setting "multipleSubmit" to true on WOForm, does anybody have any insight into the behind-the- scenes workings of WOForm and how its behaviour is altered by setting this binding to true?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.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:
This email sent to email@hidden


References: 
 >WOForm and "multipleSubmit" (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: MEETING: Chicago CocoaHeads / CAWUG Tuesday Feb. 13 6:00 pm
  • Next by Date: [OT] call gifsicle via Java process
  • Previous by thread: WOForm and "multipleSubmit"
  • Next by thread: Re: WOForm and "multipleSubmit"
  • Index(es):
    • Date
    • Thread