@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 (see
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/952cdae8b5efa1d3)

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.com and 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]

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to