-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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 !!!
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.
Yes, it works fine using zk6.0.2 too.
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.
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.
Asked: 2012-09-12 02:06:31 +0800
Seen: 220 times
Last updated: Nov 04 '12