diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2015-12-03 14:59:05 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-12-03 14:59:12 +0000 |
commit | 2af72ba9636bec70046394c41744f89ce4572e35 (patch) | |
tree | ccb3dc2d2239585f8c3f79eb5f131ff61ca9ce86 /documentation/gwt/gwt-server-side.asciidoc | |
parent | 8aa5fabe89f2967e966a64842a608eceaf80d08f (diff) | |
download | vaadin-framework-2af72ba9636bec70046394c41744f89ce4572e35.tar.gz vaadin-framework-2af72ba9636bec70046394c41744f89ce4572e35.zip |
Revert "Merge branch 'documentation'"7.6.0.beta2
This reverts commit f6874bde3d945c8b2d1b5c17ab50e2d0f1f8ff00.
Change-Id: I67ee1c30ba3e3bcc3c43a1dd2e73a822791514bf
Diffstat (limited to 'documentation/gwt/gwt-server-side.asciidoc')
-rw-r--r-- | documentation/gwt/gwt-server-side.asciidoc | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/documentation/gwt/gwt-server-side.asciidoc b/documentation/gwt/gwt-server-side.asciidoc deleted file mode 100644 index 1139b78a39..0000000000 --- a/documentation/gwt/gwt-server-side.asciidoc +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Creating a Server-Side Component -order: 3 -layout: page ---- - -[[gwt.server-side]] -= Creating a Server-Side Component - -Typical server-side Vaadin applications use server-side components that are -rendered on the client-side using their counterpart widgets. A server-side -component must manage state synchronization between the widget on the -client-side, in addition to any server-side logic. - -[[gwt.server-side.basic]] -== Basic Server-Side Component - -The component state is usually managed by a __shared state__, described later in -<<dummy/../../../framework/gwt/gwt-shared-state#gwt.shared-state,"Shared -State">>. - - ----- -public class MyComponent extends AbstractComponent { - public MyComponent() { - getState().setText("This is MyComponent"); - } - - @Override - protected MyComponentState getState() { - return (MyComponentState) super.getState(); - } -} ----- - - - - |