0

IE11 may not launch zscript

asked 2013-11-08 07:30:33 +0800

takumi gravatar image takumi
12 3

updated 2013-11-08 07:37:12 +0800

Hello, I'm using ZK6.5.4 on CentOS6.3. I write small code below.

With IE11 on Windows8.1, I pushed "Update" button, but I can't see "hello test" message in eclipse Console window. If I use IE10 on Windows7, I see the message in Console window.

"x-ua-compatible" does not work on ZK6.5.4 with IE11 ?

<?page title="Auto Generated index.zul" contentType="text/html;charset=UTF-8" viewport="width=device-width, initial-scale=1.0" ?>
<?meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" ?>
<zk>
  <zscript>
    <![CDATA[//@IMPORT
    import java.lang.*;
    import java.util.Date;
    import java.util.ArrayList;
    import org.zkoss.zul.*;
    import java.awt.Font;
    import java.io.*;
    import org.zkoss.util.resource.*;
    ]]>
  </zscript>

  <zscript><![CDATA[
       void test1()
       {
           System.out.println( "hello test");
       }
  ]]></zscript>
  <zscript><![CDATA[//@DECLARATION
  ]]>
  </zscript>

  <?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>

<window title="Hello World!!" border="normal" width="200px">
<label value="You are using: ${desktop.webApp.version}"/>
<button label="Update" onClick="test1();"/>

</window>
</zk>
delete flag offensive retag edit

Comments

Thats good news. Let all the browser stop on zscript. Because zscript is one of the bad way of coding

Senthilchettyin ( 2013-11-08 10:15:46 +0800 )edit

Thank you for comments. Not only zscript, ZK may not work with IE11. I posted it http://forum.zkoss.org/question/89549/zk-does-not-work-with-ie11/ .

takumi ( 2013-11-09 12:29:12 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-11-11 09:06:25 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi, please check the IE11 compatibility changes - "If you currently use the x-ua-compatible header to target a legacy document mode, it's possible your site won't reflect the best experience available with IE11."

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2013-11-08 07:30:33 +0800

Seen: 26 times

Last updated: Nov 11 '13

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