diff options
author | Anastasia Smirnova <anasmi@utu.fi> | 2018-05-03 10:07:54 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-05-03 11:29:00 +0300 |
commit | 4b9e102a2e03558df224cec73c21077eb7368ad1 (patch) | |
tree | 35da2288c5c095d5735b804703387c84dd47e90c /documentation | |
parent | de4d77228308ed50e4ed6c0e1a4b43e36fd99260 (diff) | |
download | vaadin-framework-4b9e102a2e03558df224cec73c21077eb7368ad1.tar.gz vaadin-framework-4b9e102a2e03558df224cec73c21077eb7368ad1.zip |
Update Using RPC To Send Events To The Client
Update the article to make it compile, if using right imports
Addresses : https://github.com/vaadin/framework/issues/10439
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/articles/UsingRPCToSendEventsToTheClient.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/articles/UsingRPCToSendEventsToTheClient.asciidoc b/documentation/articles/UsingRPCToSendEventsToTheClient.asciidoc index 0ee258be83..fffcbec6bc 100644 --- a/documentation/articles/UsingRPCToSendEventsToTheClient.asciidoc +++ b/documentation/articles/UsingRPCToSendEventsToTheClient.asciidoc @@ -33,7 +33,7 @@ We'll create *MyComponentClientRpc* in the client package: .... package com.example.mycomponent.client; -import com.vaadin.client.communication.ClientRpc; +import com.vaadin.shared.communication.ClientRpc; public interface MyComponentClientRpc extends ClientRpc { public void alert(String message); @@ -121,7 +121,7 @@ public class MyComponent extends AbstractComponent { "Ok, that's enough!"); } - setText("You have clicked " + clickCount + " times"); + // setText("You have clicked " + clickCount + " times"); } }; |