diff options
author | Artur Signell <artur@vaadin.com> | 2015-09-16 13:51:14 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2015-09-29 05:54:03 +0000 |
commit | 0fbf5b9307ad56825ad73301215cb8ffdef79aa1 (patch) | |
tree | b503b4478f2e7f822b64755103b70f5eaaf200fe /client | |
parent | fc2ef4bdc853ae67f245a77252958c43c0b9dce8 (diff) | |
download | vaadin-framework-0fbf5b9307ad56825ad73301215cb8ffdef79aa1.tar.gz vaadin-framework-0fbf5b9307ad56825ad73301215cb8ffdef79aa1.zip |
Log reason for loading a connector bundle (#19024)
Change-Id: Idbad38ccbe519b6e0e5948a4d49e496e42845e3d
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/WidgetSet.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/WidgetSet.java b/client/src/com/vaadin/client/WidgetSet.java index 4402cd5b74..e85eac388f 100644 --- a/client/src/com/vaadin/client/WidgetSet.java +++ b/client/src/com/vaadin/client/WidgetSet.java @@ -118,14 +118,19 @@ public class WidgetSet { ConnectorBundleLoader loader = ConnectorBundleLoader.get(); String bundleName = null; Integer t = tag; + String serverSideClassName = ""; do { - String serverSideClassName = conf.getServerSideClassNameForTag(t); + serverSideClassName = conf.getServerSideClassNameForTag(t); bundleName = loader.getBundleForIdentifier(serverSideClassName); t = conf.getParentTag(t); } while (bundleName == null && t != null); if (bundleName != null && !loader.isBundleLoaded(bundleName)) { + getLogger().info( + "Loading bundle " + bundleName + + " to be able to render server side class " + + serverSideClassName); ApplicationConfiguration.startDependencyLoading(); loader.loadBundle(bundleName, new BundleLoadCallback() { @Override |