I have the same problem and also for me the "x-ua-compatible" tag
fixed it.

I created a project using the gwt eclipse plugin, here's the java
file:

===

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.LayoutPanel;
import com.google.gwt.user.client.ui.RootLayoutPanel;

public class GwtSandbox implements EntryPoint {

  interface Binder extends UiBinder<LayoutPanel, GwtSandbox> { }
  private static final Binder binder = GWT.create(Binder.class);

  public void onModuleLoad() {
    LayoutPanel panel = binder.createAndBindUi(this);
    RootLayoutPanel.get().add(panel);
  }
}
===
Here's the ui xml file:

<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
             xmlns:g='urn:import:com.google.gwt.user.client.ui'>

 <g:LayoutPanel>
   <g:layer>
     <g:Label>Lorem ipsum...</g:Label>
   </g:layer>
   <g:layer left='25%' right='25%' top='4px' height='10em'>
     <g:Label>Header</g:Label>
   </g:layer>
 </g:LayoutPanel>

</ui:UiBinder>

I can see it working in Chrome and in FF, however in IE8 I don't see
anything, if I inspect it using the DeveloperTool I see that the
markup is there but is not displayed. If I add the "x-ua-compatible"
tag to the html where the gwt script (nocache.js) is included, then it
works in IE8.


On Dec 30 2009, 3:12 am, jd <[email protected]> wrote:
> I am having exactly the same problem with 2.0.  Yes I am in standards
> IE8 standards mode and the problem is fixed by changing to IE7
> standards mode with the tag
>
> <meta http-equiv="X-UA-Compatible" content="IE=7"/>
>
> However, I have tested a simple DockLayoutPanel including a map (which
> I thought could be the problem) and it all seems to work fine in IE8
> standards mode - so there must be some other factor in my code that
> prevents the DockLayoutPanel from displaying.  I am happy for now with
> the meta tag but will try to figure out what the cause is some time.
-- 
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