summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractComponent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r--src/com/vaadin/ui/AbstractComponent.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AbstractComponent.java b/src/com/vaadin/ui/AbstractComponent.java
index 54dfccd60c..76fcd0ded3 100644
--- a/src/com/vaadin/ui/AbstractComponent.java
+++ b/src/com/vaadin/ui/AbstractComponent.java
@@ -145,6 +145,16 @@ public abstract class AbstractComponent implements Component, MethodEventSource
/**
* Gets the UIDL tag corresponding to the component.
*
+ * <p>
+ * Note! In version 6.2 the method for mapping server side components to
+ * their client side counterparts was enhanced. This method was made final
+ * to intentionally "break" code where it is needed. If your code does not
+ * compile due overriding this method, it is very likely that you need to:
+ * <ul>
+ * <li>remove the implementation of getTag
+ * <li>add {@link ClientWidget} annotation to your component
+ * </ul>
+ *
* @return the component's UIDL tag as <code>String</code>
* @deprecated tags are no more required for components. Instead of tags we
* are now using {@link ClientWidget} annotations to map server
@@ -153,7 +163,7 @@ public abstract class AbstractComponent implements Component, MethodEventSource
* @see ClientWidget
*/
@Deprecated
- public String getTag() {
+ public final String getTag() {
return "";
}