Hi,
I defined a variable in my ActionForm as "submitAction". And I have serveral buttons in my form as below.
This works and I get submitAction="Save".
----------------------------------------------------------------
function show(url) {
window.location.href = "">}
This also works since I append submitAction=Delete in the url. If I omit that then I get submitAction="". It seems that when using _javascript_ to submit the form, the property of that button doesn't send as a request parameter. Can someone confirm if that is the case?
-------------------------------------------------------------
I want to alert user if the new property already added, and stop then; or call my action if it is new property.
function checkProps() {
//check redundancy
if (redundant) {
alert(...);
return;
}
myform.submitAction="Add Property"; **
myform.submit();
}
I got submitAction="" even with line **. Any thoughts?
Thanks in advance!
-------------------------------------------------------------------
roomity.com
roomity.com is broadband internet. ~~1127425336629~~
-------------------------------------------------------------------
- [struts-menu] Submitting form using <html:submit> an... Catherine
- [struts-menu] Re:Submitting form using <html:submi... Catherine
- RE: [struts-menu] Submitting form using <html:subm... Caballero Roque
