GWT 2.6.0如何启用Internet Explorer 6/7排列 [英] GWT 2.6.0 how to enable Internet Explorer 6/7 permutation

查看:124
本文介绍了GWT 2.6.0如何启用Internet Explorer 6/7排列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

发行说明GWT 2.6.0:
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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆