See
http://stackoverflow.com/questions/1011863/how-do-i-speed-up-the-gwt-compiler,
how set user agent.

2011/9/29 mkn <[email protected]>

> I use GWT 2.4.0
> I added to the project's myProject.gwt.xml (just in front of the </
> module> tag) the following lines:
>
>  <!-- Browser-sensitive code should use the 'user.agent' property -->
>  <define-property name="user.agent" values="ie6" />
>  <extend-property name="user.agent" values="ie8" />
>  <extend-property name="user.agent" values="gecko1_8" />
>  <extend-property name="user.agent" values="safari" />
>  <extend-property name="user.agent" values="opera" />
>  <extend-property name="user.agent" values="ie9" fallback-
> value="ie8" />
>  <property-provider name="user.agent"
> generator="com.google.gwt.user.rebind.UserAgentPropertyGenerator"/>
>
> whereas I changed the first line from <define-property ...> to <extend-
> property ...>. If I use <define-property..> then I got the error:
> [ERROR] The deferred-binding property named user.agent may not be
> redefined.
> [ERROR] Line 40: Unexpected exception while processing element 'define-
> property'
>
>
>
> On Sep 29, 9:51 pm, Juan Pablo Gardella <[email protected]>
> wrote:
> > What gwt version are you use? Are you modify user.agent
> > <http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/..
> .>property
> > in your module?
> >
> > 2011/9/29 mkn <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> > > Hi
> >
> > > I developed an application in GWT. It worked perfectly in Chrome and
> > > Safari. However, when I tried it on IE8 I was shocked because it
> > > didn't work anymore.
> >
> > > So when I browse to the application I just see a blank page and at the
> > > bottom left there is this warning sign. When I click on it says:
> >
> > > Webpage error details
> >
> > > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/
> > > 4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> > > 3.0.30729; Media Center PC 6.0; InfoPath.2)
> > > Timestamp: Thu, 29 Sep 2011 19:31:40 UTC
> >
> > > Message: Exception thrown and not caught
> > > Line: 657
> > > Char: 5
> > > Code: 0
> > > URI:
> > >http://something.com/test_light/test_light/658EB31931BDA704313D9668F7.
> ..
> >
> > > So I opened the Developer Tools and there is a message: Exception
> > > thrown and not caught on line 657. This is the line 653 until 663:
> >
> > > function entry_0(jsFunction){
> > >  return function(){
> > >    try {
> > >      return entry0(jsFunction, this, arguments);
> > >    }
> > >     catch (e) {
> > >      throw e;
> > >    }
> > >  }
> > >  ;
> > > }
> >
> > > The most weird thing is, that when I click on refresh button of the
> > > browser, then the application works.
> > > I also put a <meta http-equiv="X-UA-Compatible" content="IE=8">  (as
> > > suggested herehttp://
> code.google.com/p/google-web-toolkit/wiki/IE8Support
> > > )
> > > in my .html file and it didn't change anything.
> >
> > > I always thought that GWT is compatible with IE6,7,8. I hope someone
> > > can help me solving this issue. Many thanks in advance for any kind of
> > > help.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to