Hi,
We are using smartGWT 3.0 and additional third party javascript library.
When ISC_Core.js is included in the html file it changes array object behavior.
Example: the third party js file need to run the following code that should display 3 message boxes with aaa, bbb, ccc
if we include ISC_Core.js in the html file (what is needed for smartgwt) we receive more a lot message boxes: first 3 are with aaa, bbb, ccc and then a lot of message boxes with smartgwt function implementations.
How can we solve the issue and make the code display only 3 messages?
In the example code:
the row - for(var i in result1){alert(result1[i]);} - is called before ISC_Core.js is included and displays 3 messages.
the row - for(var i in result2){alert(result2[i]);} - is called after ISC_Core.js is included and displays many messages including function implementation.
Thanks,
Olga.
We are using smartGWT 3.0 and additional third party javascript library.
When ISC_Core.js is included in the html file it changes array object behavior.
Example: the third party js file need to run the following code that should display 3 message boxes with aaa, bbb, ccc
Code:
var test1 = "aaa;bbb;ccc"; var result1 = test1.split(";"); for(var i in result1){alert(result1[i]);}
How can we solve the issue and make the code display only 3 messages?
In the example code:
the row - for(var i in result1){alert(result1[i]);} - is called before ISC_Core.js is included and displays 3 messages.
the row - for(var i in result2){alert(result2[i]);} - is called after ISC_Core.js is included and displays many messages including function implementation.
Code:
<!DOCTYPE HTML> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="content-type"> <link href="GWT.css" rel="stylesheet" type="text/css"> <title>xMS</title> <script type="text/javascript"> var test1 = "aaa;bbb;ccc"; var result1 = test1.split(";"); for(var i in result1){alert(result1[i]);} </script> <script> var isomorphicDir = "gwt/sc/"; </script> <script src="http://localhost/xmsdebug/gwt/gwt/sc/modules/ISC_Core.js" language="javascript"></script> <link href="http://localhost/xmsdebug/gwt/gwt/sc/skins/Enterprise/skin_styles.css" type="text/css" rel="stylesheet"> <script type="text/javascript"> var test2 = "aaa;bbb;ccc"; var result2 = test2.split(";"); for(var i in result2){alert(result2[i]);} </script> <link rel="stylesheet" href="http://localhost/xmsdebug/gwt/gwt/gwt/clean/clean.css"> </head> <body> </body> </html>
Olga.
Comment