RE: WOForms
RE: WOForms
- Subject: RE: WOForms
- From: Jonathan Rochkind <email@hidden>
- Date: Thu, 26 Feb 2004 12:00:33 -0600
In general, it is _not_ called. Instead, the action bound to the
WOSubmitButton is called. Although there may be some way, with a
WOForm with multipleSubmit=false, and a WOSubmitButton with a blank
action, that the WOForm action will be called. But in general, you
don't use WOForm action.
One exception:
If you submit a form in some way _without_ clicking on a
WOSubmitButton. For instance, the most common way I encounter is to
use javascript to do a form.submit(). You've just used javascript to
submit the form, not from any particular submit button at all, but
just submitting the form as a whole. In this case, the WOForm action
will be called.
--Jonathan
At 2:16 PM +0530 2/26/04, Kranthi Sagar Borra wrote:
Hi
If I specify an action in a WOForm, when is this action called. For
ex, if my WOForm is
Form1: WOForm {
enctype = "multipart/form-data";
multipleSubmit = true;
name = "ProblemDetailed";
action = showHistoryTracking;
}
when is he action method showHistoryTracking invoked.
Thank you.
Regards
Kranthi.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.