On 27 avr, 18:15, Ben <[email protected]> wrote:
> I am building an application with newest release of GWT on Mac OS. The
> whole app is in GWT, no JSNI and the structure of the application is
> sorta complicated. I have couple Composite widgets and some Composite
> widgets have references of other Composite Widgets. For example:
>
> A extends Composite {
>
> }
>
> B extends Composite {
> A a = new A();
>
> public B (A instance_a) {
> this.a = instance_a
> }
>
> }
>
> And after compile and deployment, my application works fine in Firefox
> and Safari, but it has JS error on all IE 6, 7 and 8. And I did some
> debug by putting Window.alert(msg) in the end of Entry Point and I
> found out one of my composite widget causes the problem.
Have you been able to narrow down the error to some snippet code?
How about trying to catch exceptions and Window.alert() them?
(eventually, use an GWT.UncaughtExceptionHandler at the beginning of
your entry point's onModuleLoad)
> Once I
> exclude it from Entry Point. The Window.alert is able to execute in IE
> 6,7 and 8. According to the documentation, GWT should have pretty good
> support for both IE 6 and 7. Does anyone have any idea what could be
> the possible reason for this kind of incompatibility?
Without any information on the kind of error? (isn't IE giving you
some info at the JS level? how about turning on the debugger? e.g. in
IE8, in the appropriate IE=5 or IE=7 mode so you don't have the IE8-
specific incompatibilities)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---