Here is the form from my jsp page:

   1. <s:url id="email" action="contract_emailContract" />  
   2. <s:url id="release" action="release_releaseContract" />  
   3.   
   4. <s:form name="theForm"  id="emailpdf">  
   5.     <s:textarea  name="emailTo"      label="To"              rows="3"
cols="49" readonly="true" />  
   6.     <s:submit  value="Release" formId="emailpdf" href="%{release}"
theme="ajax" targets="comment_result" showLoadingText="false"
indicator="loadingImage"/>  
   7.     <s:submit value="Send e-mail" formId="emailpdf" href="%{email}"
theme="ajax" targets="email_result" showLoadingText="false"
indicator="loadingImage"/>  
   8. </s:form>   


When using firefox, it works fine. When using internet explorer, the form is
submitted twice for the same action.
Example: if the user clicks "Release", public String releaseContract() will
be executed twice.

I saw other's form was submitted twice mostly likely because of Javascript,
but obviously this case is different.

Thanks!

-- 
View this message in context: 
http://old.nabble.com/action-called-twice-in-IE-8-when-using-different-ajax-submit-for-the-same-form-tp26482173p26482173.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to