Re: Internet Explorer 8 and DialogBox display error

2009-07-10 Thread Stefan Sigvardsson

Ok, found a temporary solution, seems the problem is indeed in
Microsofts hands.

To force IE8 to display pages as IE7 use this meta tag in your html

meta http-equiv=X-UA-Compatible content=IE=7



On Jul 9, 3:59 pm, Stefan Sigvardsson scht...@gmail.com wrote:
 Seems like Microsoft has done it again...

 When trying to display a DialogBox (with .center() ) everything works
 fine in all browsers (including IE6-7), except for IE8.

 The error message i get is in Swedish (Har inte implementerats), but
 it should translate to Not implemented. With a reference to a code
 point in the generated JavaScript file, where the code says
 c.setExpression(ad,pe).

 When running IE8 with Browser Mode IE7 or compability view the
 DialogBoxes work fine, the same when using Document Mode IE7 or
 Quirks.

 But that is not satisfactory. The page should work in regular IE8 too.

 An example snippet of code that does not work:
 public void onModuleLoad() {
     DialogBox mybox = new DialogBox();
     mybox.setText(foo);
     mybox.center();

 }


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



Re: Internet Explorer 8 and DialogBox display error

2009-07-10 Thread Thomas Broyer



On 10 juil, 09:42, Stefan Sigvardsson scht...@gmail.com wrote:
 Ok, found a temporary solution, seems the problem is indeed in
 Microsofts hands.

Actually no; just that IE8 in its super standards mode has removed
support for some IE-specific methods and properties (replaced by W3C-
DOM ones), on tables for example, among others; and GWT is using those
IE-specific methods and properties even in IE8 super standards mode.
GWT 1.7 (soon to be released) will add support for IE8's super
standards mode.

In your case, I believe you faced this issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3329

See also http://code.google.com/p/google-web-toolkit/issues/detail?id=3558

 To force IE8 to display pages as IE7 use this meta tag in your html

 meta http-equiv=X-UA-Compatible content=IE=7

I prefer using IE=EmulateIE7; that way I can change the DOCTYPE to
switch between quirks and standards mode without the need to *also*
change the meta.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---