gigaZhang / struts2-jquery

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

Struts Jquery 3.7.1 - Modal dialog not working Internet Explorer and it gets dispositioned to top left corner #1104

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.Updated the Struts to 2.3.16.3
2.Updated the Struts jquery plugin to 3.7.1
3.Existing Modal dialog stopped working, Dialog got dispositioned to top left 
of the page, Modal funtionality is not working as background is enabled , the 
fields in the background can be changed while the modal window is open.This 
issue is happening only in Internet explorer(Tested in IE 9,8,7) but works fine 
in other browsers(firefox and chrome).

What is the expected output? What do you see instead?
Expected the Dialog to be centered and modal functionality to work.

Which struts2 version?
struts 2.3.16.3

Which struts2-jquery plugin version?
3.7.1

Please provide any additional information below.
 Used the same sample code as in showcase(http://struts.jgeppert.com/struts2-jquery-showcase/index.action) but still giving us same issue in Internet explorer.

Original issue reported on code.google.com by nitin.p...@gmail.com on 22 May 2014 at 3:31

GoogleCodeExporter commented 9 years ago
Any one facing the same issue with Modal Dialog in Internet Explorer with 
upgrade to new Jars Struts-jquery plugin 3.7.1

Original comment by nitin.p...@gmail.com on 4 Jun 2014 at 2:52

GoogleCodeExporter commented 9 years ago
I just tried it but I was not able to reproduce this issue. May custome scripts 
or css styles are the root cause?

Original comment by johgep on 5 Jun 2014 at 9:15

GoogleCodeExporter commented 9 years ago
Thanks for looking into the issue,
Modal Function was  an existing functionality which we had no problems earlier, 
it was developed with 'Struts jquery plugin 2.5.3' and Struts 2.1.8.
   Due to some issues, we had to upgrade to Struts 2.3.16.3, and for it we used 'Struts jquery plugin 3.7.1' 
   with the new upgrade it is working in others browser(chrome and firefox) but it is not working in Internet explorer, tested in ie  7,8,9. 
  Tested with plain sample code(Modal dialog with buttons sample code)  and removed all our css and js files, it is giving same issue  - disposition modal and background enabled

Please check the attachment which has screenshot of the issue. Confirm Submit 
is modal dialog which got dispositioned and background drop down is enabled

Original comment by nitin.p...@gmail.com on 6 Jun 2014 at 3:06

Attachments:

GoogleCodeExporter commented 9 years ago
Figured out which causes the above issue. It is because of the doctype which we 
were using in our JSP. 
 Doctype Transitional  caused the issue in IE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
Fix changed the DocType to <!DOCTYPE HTML> to fix the issue.

Found another issue, This was happening on all browsers when using the doctype 
<!DOCTYPE HTML> with struts plugin 3.7.1. The issue is part of the greyout 
background getting highlighted. so had to change back to Struts jquery plugin 
3.7.0 to get issue resolved.

Original comment by nitin.p...@gmail.com on 27 Jun 2014 at 2:43