From 9bc83cdce75d39ae8c3c7e07f20b006111c193b6 Mon Sep 17 00:00:00 2001 From: Matti Hosio Date: Tue, 16 Dec 2014 14:56:23 +0200 Subject: Declarative support for Label (#7749) Change-Id: Ia727763f979ad94a029c7861f13bec0c6f00b876 --- server/src/com/vaadin/ui/AbstractComponent.java | 1 + server/src/com/vaadin/ui/Label.java | 1 + 2 files changed, 2 insertions(+) (limited to 'server/src/com') diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java index 4d4556d4d9..358fea1bad 100644 --- a/server/src/com/vaadin/ui/AbstractComponent.java +++ b/server/src/com/vaadin/ui/AbstractComponent.java @@ -1199,6 +1199,7 @@ public abstract class AbstractComponent extends AbstractClientConnector Arrays.asList(customAttributes)); if (this instanceof Focusable) { l.add("tab-index"); + l.add("tabindex"); } return l; } diff --git a/server/src/com/vaadin/ui/Label.java b/server/src/com/vaadin/ui/Label.java index fc18c374b4..a6ee11bdd5 100644 --- a/server/src/com/vaadin/ui/Label.java +++ b/server/src/com/vaadin/ui/Label.java @@ -605,6 +605,7 @@ public class Label extends AbstractComponent implements Property, Collection result = super.getCustomAttributes(); result.add("value"); result.add("content-mode"); + result.add("plain-text"); return result; } -- cgit v1.2.3