summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2016-07-14 14:56:21 +0300
committerHenri Sara <hesara@vaadin.com>2016-08-11 08:51:54 +0300
commit020557163c5dd3b1a532e75656922ab988076bef (patch)
treedd780ec556e7a1040359d0bd87faca76f50ee177 /server
parent192e93a814f05dc8c5cc7a01b7264bc0a8a9dec7 (diff)
downloadvaadin-framework-020557163c5dd3b1a532e75656922ab988076bef.tar.gz
vaadin-framework-020557163c5dd3b1a532e75656922ab988076bef.zip
Remove obsolete type attribute in AbstractSelect subclasses
Change-Id: I733a286473fb245da92ae6210d671ead6f954e79
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/ui/ListSelect.java1
-rw-r--r--server/src/main/java/com/vaadin/ui/NativeSelect.java1
-rw-r--r--server/src/main/java/com/vaadin/ui/OptionGroup.java1
-rw-r--r--server/src/main/java/com/vaadin/ui/TwinColSelect.java1
4 files changed, 0 insertions, 4 deletions
diff --git a/server/src/main/java/com/vaadin/ui/ListSelect.java b/server/src/main/java/com/vaadin/ui/ListSelect.java
index 9f44407db9..c8ed8e5854 100644
--- a/server/src/main/java/com/vaadin/ui/ListSelect.java
+++ b/server/src/main/java/com/vaadin/ui/ListSelect.java
@@ -112,7 +112,6 @@ public class ListSelect extends AbstractSelect {
@Override
public void paintContent(PaintTarget target) throws PaintException {
- target.addAttribute("type", "list");
// Adds the number of columns
if (columns != 0) {
target.addAttribute("cols", columns);
diff --git a/server/src/main/java/com/vaadin/ui/NativeSelect.java b/server/src/main/java/com/vaadin/ui/NativeSelect.java
index 137d57f677..9dbd85e386 100644
--- a/server/src/main/java/com/vaadin/ui/NativeSelect.java
+++ b/server/src/main/java/com/vaadin/ui/NativeSelect.java
@@ -111,7 +111,6 @@ public class NativeSelect extends AbstractSelect implements
@Override
public void paintContent(PaintTarget target) throws PaintException {
- target.addAttribute("type", "native");
// Adds the number of columns
if (columns != 0) {
target.addAttribute("cols", columns);
diff --git a/server/src/main/java/com/vaadin/ui/OptionGroup.java b/server/src/main/java/com/vaadin/ui/OptionGroup.java
index 81e81c9a3a..a8d0e61a97 100644
--- a/server/src/main/java/com/vaadin/ui/OptionGroup.java
+++ b/server/src/main/java/com/vaadin/ui/OptionGroup.java
@@ -64,7 +64,6 @@ public class OptionGroup extends AbstractSelect implements
@Override
public void paintContent(PaintTarget target) throws PaintException {
- target.addAttribute("type", "optiongroup");
if (isHtmlContentAllowed()) {
target.addAttribute(OptionGroupConstants.HTML_CONTENT_ALLOWED, true);
}
diff --git a/server/src/main/java/com/vaadin/ui/TwinColSelect.java b/server/src/main/java/com/vaadin/ui/TwinColSelect.java
index 8086220c94..06e06c3396 100644
--- a/server/src/main/java/com/vaadin/ui/TwinColSelect.java
+++ b/server/src/main/java/com/vaadin/ui/TwinColSelect.java
@@ -141,7 +141,6 @@ public class TwinColSelect extends AbstractSelect {
@Override
public void paintContent(PaintTarget target) throws PaintException {
- target.addAttribute("type", "twincol");
// Adds the number of columns
if (columns != 0) {
target.addAttribute("cols", columns);