简体   繁体   中英

GWT 2.6.0 how to enable Internet Explorer 6/7 permutation

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?

您可以通过添加以下代码行在模块描述符中启用ie6置换:

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

我以为我们已经在某处记录了它,但无论如何,只需将它添加到你的gwt.xml:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM