aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/TextField.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-09-06 21:56:19 +0300
committerArtur Signell <artur@vaadin.com>2016-09-07 11:42:20 +0300
commita18552fb252e452ce93642a946db67af6708a91d (patch)
treed063abbf8472e0a7a314927150ef4a7ccae330f1 /server/src/main/java/com/vaadin/ui/TextField.java
parenta3a84d7fb1d87e77ec2cbffdbe6978e62d5d3ab7 (diff)
downloadvaadin-framework-a18552fb252e452ce93642a946db67af6708a91d.tar.gz
vaadin-framework-a18552fb252e452ce93642a946db67af6708a91d.zip
Add AbstractTextField client side to make mapping 1:1
Change-Id: I4439b995a769d22e0eded7132e2fb09123c25a49
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/TextField.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/TextField.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/TextField.java b/server/src/main/java/com/vaadin/ui/TextField.java
index 2f66b6edee..c01650fb60 100644
--- a/server/src/main/java/com/vaadin/ui/TextField.java
+++ b/server/src/main/java/com/vaadin/ui/TextField.java
@@ -19,6 +19,7 @@ package com.vaadin.ui;
import org.jsoup.nodes.Attributes;
import org.jsoup.nodes.Element;
+import com.vaadin.shared.ui.textfield.TextFieldState;
import com.vaadin.ui.declarative.DesignAttributeHandler;
import com.vaadin.ui.declarative.DesignContext;
@@ -64,6 +65,11 @@ public class TextField extends AbstractTextField {
}
@Override
+ protected TextFieldState getState() {
+ return (TextFieldState) super.getState();
+ }
+
+ @Override
public void readDesign(Element design, DesignContext designContext) {
super.readDesign(design, designContext);
Attributes attr = design.attributes();