Gwt user agent issue in IE8

417 views
Skip to first unread message

ram

unread,
Mar 2, 2013, 9:28:46 PM3/2/13
to google-we...@googlegroups.com
Hi All,

Recently we noticed that our GWT modules are rendering in all browsers except IE8. Though I inherited UserAgent in our gwt module xml. As per UserAgent the application should display in all browsers (ie6,ie8, ie9, gecko,safari, opera), but it is showing all browsers except IE8. I am not sure that what is preventing, though I set explicitly the runtimeWarning to false.

We realized that user.agent causes the issue. 

Please throw some light on this issue.

-Ram



Jens

unread,
Mar 3, 2013, 1:59:14 PM3/3/13
to google-we...@googlegroups.com
Maybe the IE8 you have tested activates compatibility mode for your site? Or it has installed Chrome Frame that maybe causes issues? As long as you have referenced ie8 in the user.agent property (or haven't changed the user.agent property at all) it should work.

Not sure what you mean with runtimeWarning.

-- J.

ram

unread,
Mar 4, 2013, 8:52:27 AM3/4/13
to google-we...@googlegroups.com
Thanks for the reply. You're right, the browser Chrome Frame has been added in Gwt module.

ram

unread,
Mar 4, 2013, 11:15:43 AM3/4/13
to google-we...@googlegroups.com
If I set the below attribute in the Gwt module, it works in IE8 but not in IE9.
  <!-- Mask error message -->
  <set-configuration-property name="user.agent.runtimeWarning" value="false"/> 

ram

unread,
Mar 4, 2013, 1:53:58 PM3/4/13
to google-we...@googlegroups.com
How to avoid compatibility mode for IE8.

ram

unread,
Mar 27, 2013, 1:06:09 PM3/27/13
to google-we...@googlegroups.com
I inherit the module User, hence I have not explicitly added setting for the browser, but IE8 is not displaying the application and running with wait cursor indefinitely. Hence, I added this setting for IE8, 9 and Chrome. Again no luck for IE8 but works for IE9 and Chrome as expected.

CoreModule.gwt.xml
<inherit ...User/>

MainModule.gwt.xml
<inherit....CoreModule/>

<!-- Mask error message -->
<set-configuration-property name="user.agent.runtimeWarning" value="false"/> 
<set-property name="gxt.user.agent" value="ie8,ie9,chrome"/>

Besides Index.html is referring the below meta tag, Is that causing it.
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />

I tried change browser mode using F12, and then see the application in IE8 but I noticed that there was a class added into HTML tag.

<html class=" ext-strict" style="overflow: hidden;">

ram

unread,
Mar 27, 2013, 2:38:17 PM3/27/13
to google-we...@googlegroups.com
Anyone please throw an idea to resolve the issue.
Reply all
Reply to author
Forward
0 new messages