Re: WO form and multiple submit buttons
Yamuna Vallipuram <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi!
I am having problems with submitting a button in a WO form. The WO
form is
bound to a Direct Action and it consists of two submit buttons. One is
bound to a search action (the same Direct Action as the form) and the
other one nullifies the input variables (a kind of reset action- this
action method is defined in the components java file). The
multipleSubmit
is set to true in WO form bindings.
When the "search" button is clicked it works well. But the "Reset"
button
does seems to call the same action as the WO form.
How do I get the reset button to invoke the reset action defined in the
components java file instead?
Any help would be highly appreciated.
regards
Yamuna
Bindings of the WO form looks like this
Form3: WOForm {
multipleSubmit = true;
actionClass = "DirectAction";
?modus = "sok";
directActionName = "presentasjonSok";
method = "get";
?type = presentasjonstype.presentasjonstypeKode;
?sted = sokSted.stedkode;
?inst = sokInstitusjon.institusjonsnr;
}
when I click on the nullify button the url looks like this
http://edderkopp:7100/as/WebObjects/frida.woa/wa/presentasjonSok?
pord=Yamuna
+Vallipuram&kjonn=Begge&eord=&nullstillknapp=Nullstill&modus=sok&type=PE
RSON&inst=185