I see that someone suggested using just a button and that worked. I have
done
things simular in the past and found this to work.
The function you call on the onClick "preformAction" in this case needs to
return false. This is because you are submitting the form in the method.
However if this method does not return false the browser will also submit
the form.
Wes
>
> <html:form action="/test.do?action=Cancel">
>
> <html:submit property="store" value="Store"
>
> onClick="performAction(this.form,'/test.do?action=Store')"/>
>
> I am using the JavaScript function I found an archive listing
> regarding how
> to set multiple actions in a form....
> function performAction(theForm, theAction)
> {
> theForm.action = theAction;
> theForm.submit();
> }
>
>