hungsama / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

sj:submit button submits the form 2 times when it is in a jQuery Dialog #659

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
1.put a <s:form> in a jQuery dialog
2.submit it with a <sj:submit> submit button.

What is the expected output? What do you see instead?
It submits(POSTs) the form 2 times in a row!
Here is my question in 
Stackoverflow(http://stackoverflow.com/questions/7485733/struts2-jquery-ajax-for
ms-sends-dataposts-2-times-in-jquery-dialogs)

Which struts2 version?
2.1.8.1

Which struts2-jquery plugin version?
3.1.1

Please provide any additional information below.

Original issue reported on code.google.com by ams...@gmail.com on 22 Sep 2011 at 7:32

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 27 Sep 2011 at 7:29

GoogleCodeExporter commented 9 years ago
Can you please try if following commit for version 3.2.0 solve this problem?

http://code.google.com/p/struts2-jquery/source/detail?r=1542

You can get the latest SNAPSHOT from Maven Repository.

http://oss.sonatype.org/content/repositories/snapshots/com/jgeppert/struts2/jque
ry/

Original comment by johgep on 24 Oct 2011 at 5:27