summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-09-16 13:51:14 +0300
committerLeif Åstrand <leif@vaadin.com>2015-09-29 05:54:03 +0000
commit0fbf5b9307ad56825ad73301215cb8ffdef79aa1 (patch)
treeb503b4478f2e7f822b64755103b70f5eaaf200fe /client
parentfc2ef4bdc853ae67f245a77252958c43c0b9dce8 (diff)
downloadvaadin-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.java7
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