From ff58c8e1c209e3fa6b864e2cfa5be365f4d8cd99 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 29 Mar 2012 18:28:56 +0300 Subject: Added missing RPC registration on server side --- src/com/vaadin/ui/Embedded.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3