So I have a <form> with action = "template" and on this form i have several submit buttons, with methods = "save", "restore", and "preview".
I also have some <a> links with href action urls - example: <s:url action="template" method="view" id="view"> <s:param name="sponsor" value="%{sponsor}" /> <s:param name="type" value="#currentType" /> </s:url> Finally, i have a select box, and i would like the select box to submit the form to the "view" method when it changes. i have set the onchange attribute = "dispatchForm(this.form)", which calls form.onSubmit() and then form.submit(). However, since the action on the form is only "template", my view() method is not called. But, if i change the action on the form to "template!view", then my submit buttons do not call the correct method. Any ideas on how to get around this? Thanks, Brian