0

ZK does not work with IE11

asked 2013-11-09 12:27:31 +0800

takumi gravatar image takumi
12 3

Hello I'm using ZK6.5.4 on CentOS6.3. I write small code below. They are zul and java file.

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.

Could you please tell me how to fix it ?


[index.html]

<?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>

  <?taglib uri="http://www.zkoss.org˽sp/web˼ore" prefix="c"?>

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

[TestPkg.java]

package com.test.demo;

public class TestPkg {
    static public void  print_console()
    {
        System.out.println( "Hello test");
    }
}
delete flag offensive retag edit

Comments

This symptom occur not only ZK6.5.4 but also ZK6.5.1.1 .

takumi ( 2013-11-11 01:37:23 +0800 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2013-11-12 02:22:07 +0800

takumi gravatar image takumi
12 3

But, following site says that DOCTYPE must be '< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'.

Does zk work properly if I would change doctype like that ?

http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/Integration/Presentation_Layer/Foreign_Templating_Framework
link publish delete flag offensive edit

Comments

Yes, you can try that, but ZK don't guarantee to work with 'content="IE=EmulateIE8"', you had better to use 'content="IE=Edge"' to use the real browser mode, not the simulator mode.

jumperchen ( 2013-11-12 04:54:09 +0800 )edit
0

answered 2013-11-11 09:25:50 +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-09 12:27:31 +0800

Seen: 79 times

Last updated: Nov 12 '13

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