aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-03-29 18:28:56 +0300
committerArtur Signell <artur@vaadin.com>2012-03-29 18:28:56 +0300
commitff58c8e1c209e3fa6b864e2cfa5be365f4d8cd99 (patch)
treefa476e16e659f94f6e1c0e0899f7788adfd6010a
parent5c32e1ea86d7791cb6cabc2c5ef76c3a950913b1 (diff)
downloadvaadin-framework-ff58c8e1c209e3fa6b864e2cfa5be365f4d8cd99.tar.gz
vaadin-framework-ff58c8e1c209e3fa6b864e2cfa5be365f4d8cd99.zip
Added missing RPC registration on server side
-rw-r--r--src/com/vaadin/ui/Embedded.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/Embedded.java b/src/com/vaadin/ui/Embedded.java
index a759c985cf..b936a62471 100644
--- a/src/com/vaadin/ui/Embedded.java
+++ b/src/com/vaadin/ui/Embedded.java
@@ -90,6 +90,7 @@ public class Embedded extends AbstractComponent {
* Creates a new empty Embedded object.
*/
public Embedded() {
+ registerRpcImplementation(rpc, EmbeddedServerRPC.class);
}
/**
@@ -98,6 +99,7 @@ public class Embedded extends AbstractComponent {
* @param caption
*/
public Embedded(String caption) {
+ this();
setCaption(caption);
}
@@ -111,7 +113,7 @@ public class Embedded extends AbstractComponent {
* the Source of the embedded object.
*/
public Embedded(String caption, Resource source) {
- setCaption(caption);
+ this(caption);
setSource(source);
}