summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/articles/UsingRPCToSendEventsToTheClient.asciidoc4
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");
}
};