aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/CustomComponent.java
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-06-11 14:40:49 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-06-11 14:40:49 +0000
commitd3482aab86dfdb76ab33260b82e4821094e1b5fa (patch)
treea96d883cd6d182ef29167b5294218014c86cbfe9 /src/com/vaadin/ui/CustomComponent.java
parentac06d92f7e6ec40fc9cbdf5c2fe867079cfc343c (diff)
downloadvaadin-framework-d3482aab86dfdb76ab33260b82e4821094e1b5fa.tar.gz
vaadin-framework-d3482aab86dfdb76ab33260b82e4821094e1b5fa.zip
code splitting + client initialization
svn changeset:13651/svn branch:6.4
Diffstat (limited to 'src/com/vaadin/ui/CustomComponent.java')
-rw-r--r--src/com/vaadin/ui/CustomComponent.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/CustomComponent.java b/src/com/vaadin/ui/CustomComponent.java
index 46e92384f8..e06fb321e3 100644
--- a/src/com/vaadin/ui/CustomComponent.java
+++ b/src/com/vaadin/ui/CustomComponent.java
@@ -10,6 +10,7 @@ import java.util.Iterator;
import com.vaadin.terminal.PaintException;
import com.vaadin.terminal.PaintTarget;
import com.vaadin.terminal.gwt.client.ui.VCustomComponent;
+import com.vaadin.ui.ClientWidget.LoadStyle;
/**
* Custom component provides simple implementation of Component interface for
@@ -26,7 +27,7 @@ import com.vaadin.terminal.gwt.client.ui.VCustomComponent;
* @since 3.0
*/
@SuppressWarnings("serial")
-@ClientWidget(value = VCustomComponent.class, lazyLoad = false)
+@ClientWidget(value = VCustomComponent.class, loadStyle = LoadStyle.EAGER)
public class CustomComponent extends AbstractComponentContainer {
/**