Case: extend UI with JavaScriptExtension in init of UI
Leads to: Tooltips will be broken
Error in Chrome dev console: Could not determine ApplicationConnection for Overlay. Overlay will be attached directly to the root panel.
[code]
public class TestUI extends UI {
@Override
protected void init(VaadinRequest request) {
Panel content = new Panel();
setContent(content);
new TestExtenstion().extend(content);
}
@JavaScript("test.js")
public static class TestExtenstion extends AbstractJavaScriptExtension {
public void extend(Panel target) {
super.extend(target);
}
@Override
protected Class<? extends ClientConnector> getSupportedParentType() {
return Panel.class;
}
}
}
[/code]It seems to be an initialization bug in ApplicationConnection.