0

ZK and JS make errors in IE8

asked 2012-09-12 02:06:31 +0800

gds1987 gravatar image gds1987
18

Hi, everyone,

I have faced one problem:

The code:

<window title="Hello World!!" id="winMain" border="none" width="100%" height="100%">
<script type="text/javascript">
<![CDATA[
function testAlert() {
window.open ("http://cn.bing.com", "Show", "menubar=0,resizable=1,location=0,width=683,height=384");
}
]]>
</script>

<label value="You are using: ${desktop.webApp.version}"/>

<div align="center">
<button id="btnShow" label="Show">
<attribute name="onClick">
Clients.evalJavaScript("testAlert()");
</attribute>
</button>

</div>

</window>

Function of the ZUL code is opening one new window in some browsers and it works well in CHROME, Firfox. But when I run it in IE8 , some error would arise :

SEVERE: [Desktop z_6v70:/index.zul] client error: Failed to process
script

Could not complete the operation due to error 80020101. (Error)

Is there some solution for this problem? Thank you very much !!!

delete flag offensive retag edit

7 Replies

Sort by ยป oldest newest

answered 2012-10-29 22:40:59 +0800

yayatip gravatar image yayatip
12

I am also getting the same issue, has anyone found solution for this?

link publish delete flag offensive edit

answered 2012-10-31 03:47:54 +0800

francishsiao gravatar image francishsiao
145 2

I have tested the sample provided by gds1987 using ZK6.5.1. It works well on IE8. What zk version you are using? Maybe I can test on that version again.

link publish delete flag offensive edit

answered 2012-11-01 09:50:32 +0800

gds1987 gravatar image gds1987
18

Thank you for your reply. The verson of ZK I have used is 6.0.2. You can try again at your convinence.

link publish delete flag offensive edit

answered 2012-11-01 11:45:32 +0800

francishsiao gravatar image francishsiao
145 2

Yes, it works fine using zk6.0.2 too.

link publish delete flag offensive edit

answered 2012-11-02 02:09:58 +0800

gds1987 gravatar image gds1987
18

Yes, I become confused about this situation. The code seems OK. According to your reminders, I have try it on IE8, 9 again. The performance of program is wonderful and it achieves original aim. Thank you very much. But I don't know the reason why it fail before.

link publish delete flag offensive edit

answered 2012-11-02 03:04:38 +0800

francishsiao gravatar image francishsiao
145 2

I had ever google the error 80020101, there are many people coming across this problem. You may reference Tracking down error 80020101 in Internet Exploder by Matt White,which is a good brief about the error.

link publish delete flag offensive edit

answered 2012-11-04 12:07:19 +0800

gds1987 gravatar image gds1987
18

Thank you very much for the help you supply !!!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-09-12 02:06:31 +0800

Seen: 220 times

Last updated: Nov 04 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More