Re: WOForm and "multipleSubmit"
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