GWT 2.6.0 how to enable Internet Explorer 6/7 permutation

被刻印的时光 ゝ 提交于 2019-12-01 03:23:32

问题


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?


回答1:


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

<extend-property name="user.agent" values="ie6" />



回答2:


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

<extend-property name="user.agent" value="ie6" />


来源:https://stackoverflow.com/questions/21876765/gwt-2-6-0-how-to-enable-internet-explorer-6-7-permutation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!