Hi there,

exact same issue for me with SplitLayoutPanel!

public class Test implements EntryPoint {
        public void onModuleLoad() {
                SplitLayoutPanel p = new SplitLayoutPanel();
                p.setSize("100%", "100%");
                p.addWest(new Label("west"), 300);
                p.addEast(new Label("east"), 300);
                p.add(new Label("content"));
                RootLayoutPanel.get().add(p);   // does not work in IE 7 or 8!
        }
}


We must be missing something here...
Adrian


On Dec 10, 3:36 am, Stuart <[email protected]> wrote:
> @bruce, @jwg, @rjrjr
>
> (and any other gwt'ers listening)
>
> I just posted about a fairly severe show-stopper for my application
> (that is, the app doesn't even finish onModuleLoad() in IE7 
> (seehttp://groups.google.com/group/google-web-toolkit/browse_thread/threa...)
>
> I thought it was likely due to my code. So I built a dead simple
> EntryPoint using the UiBinder wizard with a few touch ups:
>
> 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.uibinder.client.UiField;
> import com.google.gwt.user.client.ui.Button;
> import com.google.gwt.user.client.ui.HTMLPanel;
> import com.google.gwt.user.client.ui.RootLayoutPanel;
> import com.google.gwt.user.client.ui.Widget;
>
> public class UiBinderTestForIE implements EntryPoint {
>
>         private static UiBinderTestForIEBinder uiBinder = GWT.create
> (UiBinderTestForIEBinder.class);
>         interface UiBinderTestForIEBinder extends UiBinder<Widget,
> UiBinderTestForIE> {}
>
>         @UiField Button button;
>         @UiField HTMLPanel htmlPanel;
>
>         public void onModuleLoad() {
>
>                 Widget w = uiBinder.createAndBindUi(this);
>                 RootLayoutPanel root = RootLayoutPanel.get();
>                 root.add(w);
>         }
>
> }
>
> And here is the ui.xml
>
> <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";>
> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
>         xmlns:g="urn:import:com.google.gwt.user.client.ui">
>         <ui:style>
>                 .important {
>                         font-weight: bold;
>                 }
>         </ui:style>
>         <g:HTMLPanel ui:field="htmlPanel">
>                 Hello,
>                 <g:Button styleName="{style.important}" 
> ui:field="button">User</
> g:Button>
>         </g:HTMLPanel>
> </ui:UiBinder>
>
> When I launch this in Chrome / FF, I get what I expect. When launched
> in IE7, there is nothing on the page. Yet, the console reports that
> the module has been loaded.
>
> At first I thought it was a problem with the developer plugin in IE,
> so I compiled it and put it up on my App Engine 
> sandbox:http://uibindertestforie.latest.emcode-dev.appspot.comand tested from
> two different machines. Works in FF/Chrome on both machines. Nothing
> in IE7 on either machine.
>
> What's the deal?
>
> Again, it could be my code. But, really? GWT 2.0 is dead in IE7? I
> can't actually believe it, so someone please tell me what I am doing
> wrong.
>
> Stuart
>
> [cross-posting to gwt, gwt-contrib]

--

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