diff options
author | Artur Signell <artur@vaadin.com> | 2012-03-29 18:28:56 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-03-29 18:28:56 +0300 |
commit | ff58c8e1c209e3fa6b864e2cfa5be365f4d8cd99 (patch) | |
tree | fa476e16e659f94f6e1c0e0899f7788adfd6010a | |
parent | 5c32e1ea86d7791cb6cabc2c5ef76c3a950913b1 (diff) | |
download | vaadin-framework-ff58c8e1c209e3fa6b864e2cfa5be365f4d8cd99.tar.gz vaadin-framework-ff58c8e1c209e3fa6b864e2cfa5be365f4d8cd99.zip |
Added missing RPC registration on server side
-rw-r--r-- | src/com/vaadin/ui/Embedded.java | 4 |
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); } |