GWT 2.6.0如何启用Internet Explorer 6/7排列 [英] GWT 2.6.0 how to enable Internet Explorer 6/7 permutation
问题描述
IE6排列(它也处理IE 7)现在默认禁用,在下一个主要的GWT版本中,IE6和IE7的支持将被删除。
官方发布说明: http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0
默认情况下,IE6排列被禁用。但是,我如何启用ie6排列使我的应用程序可以使用ie6和ie7?
Secound问题:module.xml文件是启用permuation的唯一方法。 gwt编译器的标志是什么?
您可以在模块描述符中启用ie6排列,方法是添加以下代码行:
< extend-property name =user.agentvalues =ie6/>
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?
You can enable ie6 permutation with in your module descriptor by adding this line of code:
<extend-property name="user.agent" values="ie6" />
这篇关于GWT 2.6.0如何启用Internet Explorer 6/7排列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!