Tuesday, August 21, 2018

Re: 2.8.2 SDM recompile button strange behaviour

It looks like a bug, but I believe most people are using the "auto compile on load" hook rather than bookmarklets nowadays so they'll never hit this.
If you can, switch to that new (not so new, introduced in GWT 2.7) mode: pass -launcherDir to the CodeServer, pointing to the folder served through HTTP (for example, when running a Maven project using the jetty-maven-plugin, that would be the target/myproject-1.0-SNAPSHOT/ folder); this is the same folder you'd pass as -war to DevMode (and DevMode, since GWT 2.7, launches the CodeServer passing that -war dir as the -launcherDir, in addition to serving it as an exploded-WAR webapp)

On Friday, August 17, 2018 at 2:15:32 PM UTC+2, Олег Рачаев wrote:
On GWT 2.8.2 SDM I've faced with very stange (for me) bahaviour of module's recompile button.

It's not working when module have only PopupPanel active on page.
Is it normal or bug?

Module's example:

public class Test2 implements EntryPoint {
    public void onModuleLoad() {
        RootLayoutPanel.get().clear();
        PopupPanel pp = new PopupPanel(false,false);
        pp.setWidget(new LoginView());
        pp.center();
    }
}

The recompile buttons appears, then I press "Dev Mode On" booklet but pressing "recompile buttons" does nothing (dialog with recompile is not dissapering)!!!

With other module's code recompile button does its work fine:

public class Test2 implements EntryPoint {
    public void onModuleLoad() {
        RootLayoutPanel.get().clear();
        RootLayoutPanel.get().add(new LoginView());
    }
}

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment