Browse Source

Use fully qualified name for bundles

Fixes problem with two LAZY connectors not being able to have the same
simple class name.

Change-Id: I97970979884c99162d52718449dc18f10e955e32
tags/8.0.0.alpha2
Artur Signell 7 years ago
parent
commit
712f8ad610

+ 2
- 2
client-compiler/src/main/java/com/vaadin/server/widgetsetutils/ConnectorBundleLoaderFactory.java View File

@@ -1141,8 +1141,8 @@ public class ConnectorBundleLoaderFactory extends Generator {

Collection<JClassType> lazy = connectorsByLoadStyle.get(LoadStyle.LAZY);
for (JClassType type : lazy) {
ConnectorBundle bundle = new ConnectorBundle(type.getName(),
eagerBundle);
ConnectorBundle bundle = new ConnectorBundle(
type.getQualifiedSourceName(), eagerBundle);
TreeLogger subLogger = logger.branch(Type.TRACE,
"Populating " + type.getName() + " bundle");
bundle.processType(subLogger, type);

+ 1
- 1
client/src/main/java/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java View File

@@ -33,7 +33,7 @@ import com.vaadin.ui.RichTextArea;
/**
* Connector for RichTextArea.
*/
@Connect(value = RichTextArea.class, loadStyle = LoadStyle.EAGER)
@Connect(value = RichTextArea.class, loadStyle = LoadStyle.LAZY)
public class RichTextAreaConnector extends AbstractFieldConnector
implements SimpleManagedLayout, ValueChangeHandler.Owner {


Loading…
Cancel
Save