GWT 2.6.0 how to enable Internet Explorer 6/7 perm

2020-03-18 20:58发布

Release Notes GWT 2.6.0: "The ie6 permutation (which also handles IE 7) is now disabled by default. Support for IE6 and IE7 will be removed in the next major GWT release." Official relase Notes: http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0

By default IE6 permutation is disabled. But how I can enable the ie6 permutation to make my application work with ie6 and ie7?

Secound question: is the module.xml file the only way to enable the permuation. What's about a flag for the gwt compiler?

2条回答
霸刀☆藐视天下
2楼-- · 2020-03-18 21:04

I thought we had it documented somewhere but anyway, just add this to your gwt.xml:

<extend-property name="user.agent" value="ie6" />
查看更多
我命由我不由天
3楼-- · 2020-03-18 21:13

You can enable ie6 permutation with in your module descriptor by adding this line of code:

<extend-property name="user.agent" values="ie6" />
查看更多
登录 后发表回答