summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2008-05-21 12:48:15 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2008-05-21 12:48:15 +0000
commitdd7cde3f8a66358dfb9a25b4da1009fa260f3b5b (patch)
treeb04bcdfd071c01a8cf88a1f1463a1f9224445ede
parent1f9377e67e3119cb57d9349a427e987d88e392d9 (diff)
downloadvaadin-framework-dd7cde3f8a66358dfb9a25b4da1009fa260f3b5b.tar.gz
vaadin-framework-dd7cde3f8a66358dfb9a25b4da1009fa260f3b5b.zip
adding/removing validator now fires repaint
svn changeset:4597/svn branch:trunk
-rw-r--r--src/com/itmill/toolkit/ui/AbstractField.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractField.java b/src/com/itmill/toolkit/ui/AbstractField.java
index c2e7cef57b..9b4ea1fe91 100644
--- a/src/com/itmill/toolkit/ui/AbstractField.java
+++ b/src/com/itmill/toolkit/ui/AbstractField.java
@@ -554,6 +554,7 @@ public abstract class AbstractField extends AbstractComponent implements Field,
validators = new LinkedList();
}
validators.add(validator);
+ requestRepaint();
}
/**
@@ -579,6 +580,7 @@ public abstract class AbstractField extends AbstractComponent implements Field,
if (validators != null) {
validators.remove(validator);
}
+ requestRepaint();
}
/**